diff options
author | Adam Chlipala <adam@chlipala.net> | 2014-01-19 13:08:01 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2014-01-19 13:08:01 -0500 |
commit | a0dd36d3721acc580461be8c968f6bdafc83827b (patch) | |
tree | 2892a610e83d5eb8212bf62f191746f807b4e2fa /src/main.mlton.sml | |
parent | 6787b686afe5fd3e65b3d377d4c363b4cd086dad (diff) |
New compiler option: -stop
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 b0c4e03f..6bdc9539 100644 --- a/src/main.mlton.sml +++ b/src/main.mlton.sml @@ -133,6 +133,9 @@ fun oneRun args = | "-static" :: rest => (Settings.setStaticLinking true; doArgs rest) + | "-stop" :: phase :: rest => + (Compiler.setStop phase; + doArgs rest) | "-path" :: name :: path :: rest => (Compiler.addPath (name, path); doArgs rest) |