; * src/treesit.c (treesit_recursion_limit): Fix compilation error.
This commit is contained in:
parent
68c9534424
commit
c45c2b2209
1 changed files with 1 additions and 1 deletions
|
@ -3088,7 +3088,7 @@ treesit_cursor_helper (TSTreeCursor *cursor, TSNode node, Lisp_Object parser)
|
|||
TSNode root = ts_tree_root_node (XTS_PARSER (parser)->tree);
|
||||
*cursor = ts_tree_cursor_new (root);
|
||||
bool success = treesit_cursor_helper_1 (cursor, &node, start_pos,
|
||||
end_pos, treesit_recursion_limit);
|
||||
end_pos, TREESIT_RECURSION_LIMIT);
|
||||
if (!success)
|
||||
ts_tree_cursor_delete (cursor);
|
||||
return success;
|
||||
|
|
Loading…
Add table
Reference in a new issue