ligo/vendors/Preproc/ProcMain.ml
2020-01-27 16:05:47 +01:00

6 lines
202 B
OCaml

(* This is the entry point of the C# preprocessor. See [Makefile.cfg]. *)
match Array.length Sys.argv with
2 -> Preproc.trace Sys.argv.(1)
| _ -> prerr_endline ("Usage: " ^ Sys.argv.(0) ^ " [file]")