Reorder TSTreeCursor fields so it has the same structure as internal TreeCursor

This commit is contained in:
Max Brunsfeld 2018-11-07 15:11:21 -08:00
parent 0e3d9c2c58
commit 1b482f0785
4 changed files with 6 additions and 6 deletions

View file

@ -11,8 +11,8 @@ typedef struct {
} TreeCursorEntry;
typedef struct {
Array(TreeCursorEntry) stack;
const TSTree *tree;
Array(TreeCursorEntry) stack;
} TreeCursor;
void ts_tree_cursor_init(TreeCursor *, TSNode);