🎨 node.c
This commit is contained in:
parent
a5d73ed676
commit
b853e0f2eb
2 changed files with 25 additions and 18 deletions
|
|
@ -79,7 +79,7 @@ TSTree *ts_tree_make_node(TSSymbol symbol, size_t child_count,
|
|||
}
|
||||
|
||||
*result = (TSTree){.ref_count = 1,
|
||||
.context = {.parent = NULL, .index = 0},
|
||||
.context = {.parent = NULL, .index = 0 },
|
||||
.symbol = symbol,
|
||||
.children = children,
|
||||
.child_count = child_count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue