summaryrefslogtreecommitdiff
path: root/src/main.mlton.sml
diff options
context:
space:
mode:
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 833f8c11..ac9c24d6 100644
--- a/src/main.mlton.sml
+++ b/src/main.mlton.sml
@@ -25,3 +25,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*)
+val () = case CommandLine.arguments () of
+ [filename] => Compiler.testParse filename
+ | _ => print "Bad arguments"