summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-12-19 18:53:18 +0200
committerEli Zaretskii <eliz@gnu.org>2023-12-19 18:53:18 +0200
commit2922d683b7899b8b580cbff466478617ea7ad5ad (patch)
treeab222a93da3c14e9833f2d92e0b1ef62b89ad188 /src
parent7b315e8a5c966f8d11a4f646db4e29b989b56ab1 (diff)
downloademacs-2922d683b7899b8b580cbff466478617ea7ad5ad.tar.gz
emacs-2922d683b7899b8b580cbff466478617ea7ad5ad.tar.bz2
emacs-2922d683b7899b8b580cbff466478617ea7ad5ad.zip
; * src/treesit.c (treesit_traverse_child_helper): Fix comment.
Diffstat (limited to 'src')
-rw-r--r--src/treesit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/treesit.c b/src/treesit.c
index 04ea8958b96..93ed97212d7 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -3063,7 +3063,7 @@ treesit_traverse_child_helper (TSTreeCursor *cursor,
if (!named || (named && ts_node_is_named (ts_tree_cursor_current_node(cursor))))
return true;
- /* Else named is required and last child is not named node */
+ /* Else named is required and last child is not named node. */
if (treesit_traverse_sibling_helper(cursor, false, true))
return true;
else