added automaton to ast

This commit is contained in:
Antoine Grimod
2022-12-13 15:02:54 +01:00
parent ad1f529863
commit bb017afe39
6 changed files with 41 additions and 42 deletions

View File

@@ -64,6 +64,7 @@ let _ =
let inchan = open_in !source_file in
try
begin
let _ = Parsing.set_trace true in
let res = Parser.main Lexer.token (Lexing.from_channel inchan) in
close_in inchan; res
end