Clean up ts_stack_push function
This commit is contained in:
parent
66be393b78
commit
445be0736a
2 changed files with 31 additions and 48 deletions
|
|
@ -78,10 +78,9 @@ void ts_stack_set_last_external_token(Stack *, StackVersion, Tree *);
|
|||
Length ts_stack_top_position(const Stack *, StackVersion);
|
||||
|
||||
/*
|
||||
* Push a tree and state onto the given head of the stack. This could cause
|
||||
* the version to merge with an existing version.
|
||||
* Push a tree and state onto the given head of the stack.
|
||||
*/
|
||||
bool ts_stack_push(Stack *, StackVersion, Tree *, bool, TSStateId);
|
||||
void ts_stack_push(Stack *, StackVersion, Tree *, bool, TSStateId);
|
||||
|
||||
/*
|
||||
* Pop the given number of entries from the given version of the stack. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue