Rename HeadState -> LookaheadState, remove parser.lookahead field

This commit is contained in:
Max Brunsfeld 2015-11-20 12:55:01 -08:00
parent 467930a785
commit 32b1088823
2 changed files with 61 additions and 65 deletions

View file

@ -11,9 +11,8 @@ extern "C" {
typedef struct {
TSLexer lexer;
Stack *stack;
TSTree *lookahead;
const TSLanguage *language;
Vector head_states;
Vector lookahead_states;
Vector reduce_parents;
} TSParser;