Skip to content

Commit 48af501

Browse files
committed
Move main
1 parent 2bc31e0 commit 48af501

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ML/Mlton_Main.sml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
(* val main = check_and_verify_from_stream (TextIO.stdIn) *)
2-
val main = check_and_verify
31
val _ = if MLton.isMLton then main() else ()

ML/Muntax.sml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ fun check_and_verify_from_stream stream _ =
5454
then println "Failed to read line from input!"
5555
(* We append a space to terminate the input for the parser *)
5656
else input ^ " " |> run_and_print check_deadlock
57-
end;
57+
end;
58+
59+
val main = check_and_verify_from_stream TextIO.stdIn

0 commit comments

Comments
 (0)