Remove stack head after it is accepted

This commit is contained in:
Max Brunsfeld 2015-12-24 22:04:20 -08:00
parent f483178f83
commit 13d8de3eb3
2 changed files with 48 additions and 35 deletions

View file

@ -14,7 +14,7 @@ typedef struct {
const TSLanguage *language;
Vector lookahead_states;
Vector reduce_parents;
int finished_stack_head;
TSTree *finished_tree;
bool is_split;
} TSParser;