emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter C grammar moves to support K&R C


From: Eli Zaretskii
Subject: Re: Tree-sitter C grammar moves to support K&R C
Date: Sat, 19 Aug 2023 09:35:46 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 18 Aug 2023 22:08:32 -0700
> Cc: emacs-devel@gnu.org
> 
> > On Aug 12, 2023, at 10:28 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > 
> > See
> > 
> >  
> > https://github.com/tree-sitter/tree-sitter-c/commit/b493a9c6be23e05a85d500ebc83da7bda1ec2f56
> > 
> > Yuan, do we need to change anything in our c-ts-mode to take advantage
> > of this support?
> 
> From what I can see, no. The grammar changes are internal, it’s just 
> function_definition now recognizes K&R styles of definitions.

Great, thanks.

They also added/extended the support for __attribute__ and other
extensions, btw.



reply via email to

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