Preserve tokens within errors
This commit is contained in:
parent
0c4620f3ab
commit
3d0890eecf
9 changed files with 89 additions and 112 deletions
|
|
@ -26,10 +26,6 @@ TSStateId ts_stack_top_state(const TSStack *stack);
|
|||
TSTree *ts_stack_top_node(const TSStack *stack);
|
||||
TSLength ts_stack_total_tree_size(const TSStack *stack);
|
||||
|
||||
#define TS_STACK_FROM_TOP(stack, entry) \
|
||||
for (TSStackEntry *entry = (stack).entries + (stack).size - 1; \
|
||||
entry >= (stack).entries; entry--)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue