emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_


From: Po Lu
Subject: Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting.
Date: Mon, 09 Sep 2024 13:38:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

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.

> +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));


reply via email to

[Prev in Thread] Current Thread [Next in Thread]