[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 10f8f9a185 1/4: ; * src/treesit.c: Minor comment improvement.
From: |
Yuan Fu |
Subject: |
master 10f8f9a185 1/4: ; * src/treesit.c: Minor comment improvement. |
Date: |
Wed, 23 Nov 2022 17:04:16 -0500 (EST) |
branch: master
commit 10f8f9a1851a4bda42dc6f22ae85d09e1693a07e
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * src/treesit.c: Minor comment improvement.
---
src/treesit.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/treesit.c b/src/treesit.c
index 21e1f866f7..4e07d4d084 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -2568,7 +2568,8 @@ treesit_traverse_child_helper (TSNode node, bool forward,
bool named)
}
/* Return true if NODE matches PRED. PRED can be a string or a
- function. This function doesn't check for PRED's type. */
+ function. This function assumes PRED is either a string or a
+ function. */
static bool
treesit_traverse_match_predicate (TSNode node, Lisp_Object pred,
Lisp_Object parser)