summaryrefslogtreecommitdiff
path: root/src/treesit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/treesit.c')
-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