[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-30 3fcec09f754 2/4: Add debugging function for treesit.c
From: |
Po Lu |
Subject: |
Re: emacs-30 3fcec09f754 2/4: Add debugging function for treesit.c |
Date: |
Mon, 09 Sep 2024 11:58:55 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Yuan Fu <casouri@gmail.com> writes:
> branch: emacs-30
> commit 3fcec09f754af9822339eff3ea15d43eb7d19014
> Author: Yuan Fu <casouri@gmail.com>
> Commit: Yuan Fu <casouri@gmail.com>
>
> Add debugging function for treesit.c
>
> * src/treesit.c (treesit_debug_print_parser_list): New function.
> ---
> src/treesit.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 47 insertions(+)
>
> diff --git a/src/treesit.c b/src/treesit.c
> index 6e806039df0..351bd65819a 100644
> --- a/src/treesit.c
> +++ b/src/treesit.c
> @@ -485,6 +485,53 @@ treesit_initialize (void)
> }
>
>
> +/*** Debugging */
> +
> +void treesit_debug_print_parser_list (char *msg, Lisp_Object parser)
Please insert a newline between the return type and identifier name.
Is this appropriate for Emacs 30?
- Re: emacs-30 3fcec09f754 2/4: Add debugging function for treesit.c,
Po Lu <=