Select ambiguous alternatives by minimizing error size

This commit is contained in:
Max Brunsfeld 2016-04-24 00:54:20 -07:00
parent 1fb6065f02
commit fd4c33209e
10 changed files with 329 additions and 174 deletions

View file

@ -34,6 +34,8 @@ struct TSTree {
TSSymbol symbol;
TSStateId lex_state;
TSStateId parse_state;
size_t error_size;
unsigned short ref_count;
bool visible : 1;
bool named : 1;