projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2349ecb
)
; * src/treesit.c (ts_search_dfs): Fix tab inline.
author
Yuan Fu
<casouri@gmail.com>
Mon, 17 Oct 2022 05:30:16 +0000
(22:30 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Mon, 17 Oct 2022 08:48:50 +0000
(
01:48
-0700)
Introduced by
c6dce90d7e5
which is a format-fix so I think it's fine
to fix this as a standalone change?
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index df974f7bf2aff87b97100c6a1e9d06ca56332021..7b80ea71d767adb7ed520c1acef6fcbd3178838a 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-2357,7
+2357,7
@@
ts_search_dfs (TSNode *root, Lisp_Object pred, Lisp_Object parser,
else
{
int count =
- named ? ts_node_named_child_count(
node) : ts_node_child_count (node);
+ named ? ts_node_named_child_count(node) : ts_node_child_count (node);
for (int offset = 0; offset < count; offset++)
{
uint32_t idx = forward ? offset : count - offset - 1;