[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_
From: |
Yuan Fu |
Subject: |
Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting. |
Date: |
Mon, 9 Sep 2024 00:05:35 -0700 |
> On Sep 8, 2024, at 10:38 PM, Po Lu <luangruo@yahoo.com> wrote:
>
> Yuan Fu <casouri@gmail.com> writes:
>
>> branch: emacs-30
>> commit bed38ded730130d63f08af7ad4049d87efe9bcf8
>> Author: Yuan Fu <casouri@gmail.com>
>> Commit: Yuan Fu <casouri@gmail.com>
>>
>> ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting.
>> ---
>> src/treesit.c | 7 +++++--
>> 1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/src/treesit.c b/src/treesit.c
>> index 0effb5d13b5..d1c50771e23 100644
>> --- a/src/treesit.c
>> +++ b/src/treesit.c
>> @@ -487,8 +487,11 @@ treesit_initialize (void)
>>
>> /*** Debugging */
>>
>> -void treesit_debug_print_parser_list (char *, Lisp_Object);
>> -void treesit_debug_print_parser_list (char *msg, Lisp_Object parser)
>> +void
>> +treesit_debug_print_parser_list (char *, Lisp_Object);
>
> Such newlines should only be inserted in definitions, not mere
> declarations.
Ah! I’ll fix it.
>
>> +void
>> +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));