[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 956f14ae5e9: * src/treesit.c (treesit_debug_print_parser_list):
From: |
Andrea Corallo |
Subject: |
emacs-30 956f14ae5e9: * src/treesit.c (treesit_debug_print_parser_list): Fix compiler warning. |
Date: |
Thu, 19 Sep 2024 04:46:56 -0400 (EDT) |
branch: emacs-30
commit 956f14ae5e999519e23a9a575b1d6616c744d802
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>
* src/treesit.c (treesit_debug_print_parser_list): Fix compiler warning.
---
src/treesit.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/treesit.c b/src/treesit.c
index 84d903b027c..679b8fc7ddd 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -494,7 +494,7 @@ treesit_debug_print_parser_list (char *msg, Lisp_Object
parser)
{
struct buffer *buf = XBUFFER (XTS_PARSER (parser)->buffer);
char *buf_name = SSDATA (BVAR (buf, name));
- printf ("%s (%s) [%s] <%s>: %"PRIuPTR"(%"PRIuPTR")-(%"PRIuPTR")%"PRIuPTR"
{\n",
+ printf ("%s (%s) [%s] <%s>: %td(%td)-(%td)%td {\n",
msg == NULL ? "" : msg,
SSDATA (SYMBOL_NAME (Vthis_command)),
SSDATA (SYMBOL_NAME (XTS_PARSER (parser)->language_symbol)),
@@ -505,7 +505,7 @@ treesit_debug_print_parser_list (char *msg, Lisp_Object
parser)
FOR_EACH_TAIL (tail)
{
struct Lisp_TS_Parser *parser = XTS_PARSER (XCAR (tail));
- printf ("[%s %s %s %"PRIuPTR"-%"PRIuPTR" T:%"PRIuPTR"]\n", SSDATA
(SYMBOL_NAME (parser->language_symbol)),
+ printf ("[%s %s %s %td-%td T:%td]\n", SSDATA (SYMBOL_NAME
(parser->language_symbol)),
SSDATA (SYMBOL_NAME (parser->tag)),
parser->need_reparse ? "NEED-R" : "NONEED",
parser->visible_beg, parser->visible_end,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 956f14ae5e9: * src/treesit.c (treesit_debug_print_parser_list): Fix compiler warning.,
Andrea Corallo <=