Remove nested options structs in Tree

This commit is contained in:
Max Brunsfeld 2015-12-22 14:20:58 -08:00
parent 30961143fe
commit da1bc038e5
9 changed files with 93 additions and 149 deletions

View file

@ -283,7 +283,7 @@ Vector ts_stack_pop(Stack *self, int head_index, int child_count,
/*
* Children that are 'extra' do not count towards the total child count.
*/
if (ts_tree_is_extra(node->entry.tree) && !count_extra)
if (node->entry.tree->extra && !count_extra)
path->goal_tree_count++;
/*