diff options
author | Vladimir Azarov <avm@intermediate-node.net> | 2025-05-12 01:51:27 +0200 |
---|---|---|
committer | Vladimir Azarov <avm@intermediate-node.net> | 2025-05-12 01:51:27 +0200 |
commit | 52a6f8656e8a600a2c59fa2802fb46fafb30de45 (patch) | |
tree | 72511efdccc742709f40e52ca73b708a0c74c1c6 /driver.fun | |
parent | e99a8dc48ede26696be2ba75a8cb0d5122d94598 (diff) |
Object-like macros
Diffstat (limited to 'driver.fun')
-rw-r--r-- | driver.fun | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,4 @@ -functor Driver(P: CPP): DRIVER = struct +functor Driver(P: PPC): DRIVER = struct structure P = P type config = { @@ -30,10 +30,9 @@ functor Driver(P: CPP): DRIVER = struct fun exec () = let val config = parseCmdArgs initConfig (CommandLine.arguments ()) - - val cpp = P.create (valOf $ #file config) (#includeDirs config) + val fname = valOf $ #file config in - P.debugPrint cpp + P.debugPrint fname (#includeDirs config) end end |