projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed38de
)
* src/treesit.c (treesit_debug_print_parser_list): Fix format string.
author
Andrea Corallo
<acorallo@gnu.org>
Mon, 9 Sep 2024 07:09:48 +0000
(09:09 +0200)
committer
Andrea Corallo
<acorallo@gnu.org>
Mon, 9 Sep 2024 07:09:48 +0000
(09:09 +0200)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index d1c50771e2300f7ec8ce0968abe46793d6c3895c..548dfeb8c6e28b61c82247ba4a22120c106ace44 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-521,7
+521,7
@@
treesit_debug_print_parser_list (char *msg, Lisp_Object parser)
for (int idx = 0; idx < len; idx++)
{
TSRange range = ranges[idx];
- printf (" [%
d, %d
)", range.start_byte, range.end_byte);
+ printf (" [%
"PRIu32", %"PRIu32"
)", range.start_byte, range.end_byte);
/* if (!parser->need_reparse) */
/* { */