From a0dd36d3721acc580461be8c968f6bdafc83827b Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 19 Jan 2014 13:08:01 -0500 Subject: New compiler option: -stop --- src/main.mlton.sml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.mlton.sml') 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) -- cgit v1.2.3