From a3f5a3a95ee01e9d27933ca5c1c755ceb9dac1af Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 12 Jan 2012 20:37:39 -0500 Subject: -dumpSource flag; Especialize tweak: may specialize any argument sequence ending in a value of function-containing type --- src/main.mlton.sml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main.mlton.sml') diff --git a/src/main.mlton.sml b/src/main.mlton.sml index 6f38efa8..57927258 100644 --- a/src/main.mlton.sml +++ b/src/main.mlton.sml @@ -1,4 +1,4 @@ -(* Copyright (c) 2008-2011, Adam Chlipala +(* Copyright (c) 2008-2012, Adam Chlipala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -85,6 +85,9 @@ fun doArgs args = | "-dumpTypes" :: rest => (Elaborate.dumpTypes := true; doArgs rest) + | "-dumpSource" :: rest => + (Compiler.dumpSource := true; + doArgs rest) | "-output" :: s :: rest => (Settings.setExe (SOME s); doArgs rest) -- cgit v1.2.3