emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c45c2b2209f: ; * src/treesit.c (treesit_recursion_limit): Fix com


From: Eli Zaretskii
Subject: master c45c2b2209f: ; * src/treesit.c (treesit_recursion_limit): Fix compilation error.
Date: Sat, 2 Sep 2023 04:51:27 -0400 (EDT)

branch: master
commit c45c2b2209fab2cd62375b8af8bc01764efe1742
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/treesit.c (treesit_recursion_limit): Fix compilation error.
---
 src/treesit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/treesit.c b/src/treesit.c
index ff2c016234f..9f0e0e94186 100644
--- 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]