summaryrefslogtreecommitdiff
path: root/driver.fun
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-05-12 01:51:27 +0200
committerVladimir Azarov <avm@intermediate-node.net>2025-05-12 01:51:27 +0200
commit52a6f8656e8a600a2c59fa2802fb46fafb30de45 (patch)
tree72511efdccc742709f40e52ca73b708a0c74c1c6 /driver.fun
parente99a8dc48ede26696be2ba75a8cb0d5122d94598 (diff)
Object-like macros
Diffstat (limited to 'driver.fun')
-rw-r--r--driver.fun7
1 files changed, 3 insertions, 4 deletions
diff --git a/driver.fun b/driver.fun
index 78ca877..02eadcc 100644
--- a/driver.fun
+++ b/driver.fun
@@ -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