summaryrefslogtreecommitdiff
path: root/src/main.mlton.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-04-13 11:34:59 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-04-13 11:34:59 -0400
commitc77a8eb70eec73d741eccdf2c0705b28db847a92 (patch)
tree09031a102c4bcec842a1cc0a26291ef26aab7cb1 /src/main.mlton.sml
parentf865ba33dbdaa023deb71b8a68d8d0ffe3442a82 (diff)
Command-line use of Iflow
Diffstat (limited to 'src/main.mlton.sml')
-rw-r--r--src/main.mlton.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.mlton.sml b/src/main.mlton.sml
index c6ca61c9..f4f74be2 100644
--- a/src/main.mlton.sml
+++ b/src/main.mlton.sml
@@ -82,6 +82,9 @@ fun doArgs args =
| "-sigfile" :: name :: rest =>
(Settings.setSigFile (SOME name);
doArgs rest)
+ | "-iflow" :: rest =>
+ (Compiler.doIflow := true;
+ doArgs rest)
| arg :: rest =>
(if size arg > 0 andalso String.sub (arg, 0) = #"-" then
raise Fail ("Unknown flag " ^ arg)