* Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting. [not found] ` <20240909041443.4DAE4C41F20@vcs2.savannah.gnu.org> @ 2024-09-09 5:38 ` Po Lu via Emacs development discussions. 2024-09-09 7:05 ` Yuan Fu 0 siblings, 1 reply; 2+ messages in thread From: Po Lu via Emacs development discussions. @ 2024-09-09 5:38 UTC (permalink / raw) To: emacs-devel; +Cc: Yuan Fu 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) > \f > /*** 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)); ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting. 2024-09-09 5:38 ` emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting Po Lu via Emacs development discussions. @ 2024-09-09 7:05 ` Yuan Fu 0 siblings, 0 replies; 2+ messages in thread From: Yuan Fu @ 2024-09-09 7:05 UTC (permalink / raw) To: Po Lu; +Cc: emacs-devel > 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)); ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-09 7:05 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <172585528292.11654.14274626449222552967@vcs2.savannah.gnu.org> [not found] ` <20240909041443.4DAE4C41F20@vcs2.savannah.gnu.org> 2024-09-09 5:38 ` emacs-30 bed38ded730: ; * src/treesit.c (treesit_debug_print_parser_list): Fix formatting Po Lu via Emacs development discussions. 2024-09-09 7:05 ` Yuan Fu
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).