fix(lib): account for the root node of a tree cursor being an alias
This commit is contained in:
parent
24a68697ac
commit
09d2b23a64
7 changed files with 16 additions and 8 deletions
|
|
@ -105,7 +105,7 @@ typedef struct TSNode {
|
|||
typedef struct TSTreeCursor {
|
||||
const void *tree;
|
||||
const void *id;
|
||||
uint32_t context[2];
|
||||
uint32_t context[3];
|
||||
} TSTreeCursor;
|
||||
|
||||
typedef struct TSQueryCapture {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue