Track whether parse stack was split before consuming each lookahead

This commit is contained in:
Max Brunsfeld 2015-12-09 14:33:54 -08:00
parent 75f31a79a3
commit 6abce098c0
2 changed files with 27 additions and 10 deletions

View file

@ -15,6 +15,7 @@ typedef struct {
Vector lookahead_states;
Vector reduce_parents;
int finished_stack_head;
bool is_split;
} TSParser;
TSParser ts_parser_make();