Add source info to TSTree
This commit is contained in:
parent
bf666351e9
commit
8058500c5b
7 changed files with 49 additions and 16 deletions
|
|
@ -43,7 +43,7 @@ describe("Stack", [&]() {
|
|||
|
||||
TSLength len = ts_length_make(2, 2);
|
||||
for (size_t i = 0; i < tree_count; i++)
|
||||
trees[i] = ts_tree_make_leaf(ts_builtin_sym_start + i, len, len, TSNodeTypeNamed);
|
||||
trees[i] = ts_tree_make_leaf(ts_builtin_sym_start + i, len, len, {1, 1}, {1, 2}, TSNodeTypeNamed);
|
||||
});
|
||||
|
||||
after_each([&]() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue