Track whether parse stack was split before consuming each lookahead
This commit is contained in:
parent
75f31a79a3
commit
6abce098c0
2 changed files with 27 additions and 10 deletions
|
|
@ -15,6 +15,7 @@ typedef struct {
|
|||
Vector lookahead_states;
|
||||
Vector reduce_parents;
|
||||
int finished_stack_head;
|
||||
bool is_split;
|
||||
} TSParser;
|
||||
|
||||
TSParser ts_parser_make();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue