projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c9534
)
; * src/treesit.c (treesit_recursion_limit): Fix compilation error.
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 2 Sep 2023 08:50:27 +0000
(11:50 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 2 Sep 2023 08:50:27 +0000
(11:50 +0300)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index ff2c016234f292b3e77f51f22dae09b9d23d0ba4..9f0e0e94186f6fe8ae1569f7fe513125d16edf6a 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-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;