diff options
| author | Eli Zaretskii | 2023-09-02 11:50:27 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-09-02 11:50:27 +0300 |
| commit | c45c2b2209fab2cd62375b8af8bc01764efe1742 (patch) | |
| tree | b77bdba2ac166aa2cbff5749c156b080579e5dbc | |
| parent | 68c953442487097264b71a8d87fcbe6731335311 (diff) | |
| download | emacs-c45c2b2209fab2cd62375b8af8bc01764efe1742.tar.gz emacs-c45c2b2209fab2cd62375b8af8bc01764efe1742.zip | |
; * src/treesit.c (treesit_recursion_limit): Fix compilation error.
| -rw-r--r-- | src/treesit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 3088 | TSNode root = ts_tree_root_node (XTS_PARSER (parser)->tree); | 3088 | TSNode root = ts_tree_root_node (XTS_PARSER (parser)->tree); |
| 3089 | *cursor = ts_tree_cursor_new (root); | 3089 | *cursor = ts_tree_cursor_new (root); |
| 3090 | bool success = treesit_cursor_helper_1 (cursor, &node, start_pos, | 3090 | bool success = treesit_cursor_helper_1 (cursor, &node, start_pos, |
| 3091 | end_pos, treesit_recursion_limit); | 3091 | end_pos, TREESIT_RECURSION_LIMIT); |
| 3092 | if (!success) | 3092 | if (!success) |
| 3093 | ts_tree_cursor_delete (cursor); | 3093 | ts_tree_cursor_delete (cursor); |
| 3094 | return success; | 3094 | return success; |