Make stack popping more robust

This commit is contained in:
Max Brunsfeld 2015-11-20 00:01:53 -08:00
parent 64874449e4
commit c88e9044d5
6 changed files with 328 additions and 151 deletions

View file

@ -14,6 +14,7 @@ typedef struct {
TSTree *lookahead;
const TSLanguage *language;
Vector head_states;
Vector reduce_parents;
} TSParser;
TSParser ts_parser_make();