[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 e0d3f743957: * src/treesit.c (treesit_debug_print_parser_list):
From: |
Andrea Corallo |
Subject: |
emacs-30 e0d3f743957: * src/treesit.c (treesit_debug_print_parser_list): Fix format string. |
Date: |
Mon, 9 Sep 2024 03:21:18 -0400 (EDT) |
branch: emacs-30
commit e0d3f7439573f2c5bde95dbb9005a4efc954aa0b
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>
* src/treesit.c (treesit_debug_print_parser_list): Fix format string.
---
src/treesit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/treesit.c b/src/treesit.c
index d1c50771e23..548dfeb8c6e 100644
--- 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) */
/* { */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 e0d3f743957: * src/treesit.c (treesit_debug_print_parser_list): Fix format string.,
Andrea Corallo <=