Removed some useless stuff and made some changes
This commit is contained in:
parent
acb734cda0
commit
e91a509d4c
17 changed files with 216 additions and 92 deletions
|
|
@ -63,7 +63,7 @@ static inline NodeChildIterator ts_node_iterate_children(const TSNode *node)
|
|||
Subtree subtree = ts_node__subtree(*node);
|
||||
if (ts_subtree_child_count(subtree) == 0)
|
||||
{
|
||||
return (NodeChildIterator){NULL_SUBTREE, node->tree, length_zero(), 0, 0, NULL};
|
||||
return (NodeChildIterator){NULL, node->tree, length_zero(), 0, 0, NULL};
|
||||
}
|
||||
const TSSymbol *alias_sequence = ts_language_alias_sequence(node->tree->language, subtree->production_id);
|
||||
return (NodeChildIterator){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue