Refactor parser and stack

This commit is contained in:
Max Brunsfeld 2014-08-09 01:03:55 -07:00
parent 1e79ed794b
commit 4327f3ed26
7 changed files with 108 additions and 183 deletions

View file

@ -18,7 +18,6 @@ typedef struct {
TSStack ts_stack_make();
void ts_stack_delete(TSStack *);
TSTree *ts_stack_reduce(TSStack *, TSSymbol, size_t, const int *hidden_symbols);
void ts_stack_shrink(TSStack *stack, size_t new_size);
void ts_stack_push(TSStack *stack, TSStateId state, TSTree *node);
TSStateId ts_stack_top_state(const TSStack *stack);