Make default_parser use the optional_semicolons and add odin parser test.
This commit is contained in:
1 parent
a2a7647c90
commit
50ee65ea9e
3 files changed
+57
-2
No files matched your search
@@ -116,7 +116,7 @@ end_pos :: proc(tok: tokenizer.Token) -> tokenizer.Pos {
|
||||
return pos
|
||||
}
|
||||
|
||||
default_parser :: proc(flags := Flags{}) -> Parser {
|
||||
default_parser :: proc(flags := Flags{.Optional_Semicolons}) -> Parser {
|
||||
return Parser {
|
||||
flags = flags,
|
||||
err = default_error_handler,
|
||||
|
||||
Reference in new issue
Block a user