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
|
|
@ -538,7 +538,7 @@ int ts_subtree_compare(Subtree left, Subtree right)
|
|||
Subtree ts_subtree_last_external_token(Subtree tree)
|
||||
{
|
||||
if (!ts_subtree_has_external_tokens(tree))
|
||||
return NULL_SUBTREE;
|
||||
return NULL;
|
||||
while (tree->child_count > 0)
|
||||
{
|
||||
for (t_u32 i = tree->child_count - 1; i + 1 > 0; i--)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue