Don't mutate shared lookahead nodes when setting the extra flag
This commit is contained in:
parent
71059f1d66
commit
3c3d95345f
3 changed files with 10 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ struct TSTree {
|
|||
|
||||
TSTree *ts_tree_make_leaf(TSSymbol, TSLength, TSLength, TSSymbolMetadata);
|
||||
TSTree *ts_tree_make_node(TSSymbol, size_t, TSTree **, TSSymbolMetadata);
|
||||
TSTree *ts_tree_make_copy(TSTree *child);
|
||||
TSTree *ts_tree_make_error(TSLength, TSLength, char);
|
||||
void ts_tree_retain(TSTree *tree);
|
||||
void ts_tree_release(TSTree *tree);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue