Update parse count correctly when repairing errors & undoing reductions
This commit is contained in:
parent
71fdd9aa49
commit
e0b0e29a2b
3 changed files with 79 additions and 52 deletions
|
|
@ -70,6 +70,8 @@ TSStateId ts_stack_top_state(const Stack *, StackVersion);
|
|||
|
||||
unsigned ts_stack_push_count(const Stack *, StackVersion);
|
||||
|
||||
void ts_stack_decrease_push_count(const Stack *, StackVersion, unsigned);
|
||||
|
||||
/*
|
||||
* Get the position at the top of the given version of the stack. If the stack
|
||||
* is empty, this returns zero.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue