diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-02-11 09:10:01 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-02-11 09:10:01 -0500 |
commit | abe2d7ed6e151579cd6f13fd0ce92e29bb83a23d (patch) | |
tree | 07742ac1accf17b7abc4153c890887c5a20ad464 /src/main.mlton.sml | |
parent | 861dbf0153f3383666dc0f3c35675d0b9a625b8d (diff) |
sigfile directive
Diffstat (limited to 'src/main.mlton.sml')
-rw-r--r-- | src/main.mlton.sml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.mlton.sml b/src/main.mlton.sml index 9cf5064a..fc1ba7e5 100644 --- a/src/main.mlton.sml +++ b/src/main.mlton.sml @@ -72,6 +72,9 @@ fun doArgs args = | "-root" :: name :: root :: rest => (Compiler.addModuleRoot (root, name); doArgs rest) + | "-sigfile" :: name :: rest => + (Settings.setSigFile (SOME name); + doArgs rest) | arg :: rest => (if size arg > 0 andalso String.sub (arg, 0) = #"-" then raise Fail ("Unknown flag " ^ arg) |