emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: c-mode syntactic analysis regression in emacs-22.1]


From: Glenn Morris
Subject: Re: address@hidden: c-mode syntactic analysis regression in emacs-22.1]
Date: Sun, 06 Jan 2008 14:39:21 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Hello Alan,

Are you able to look into this issue? It is one of the few bugs
remaining in FOR-RELEASE.


> From: Eric Faurot <address@hidden>
> Subject: c-mode syntactic analysis regression in emacs-22.1
> To: address@hidden
> Date: Sat, 24 Nov 2007 18:04:41 +0100
> X-Sent: 6 weeks, 1 day, 2 hours, 33 minutes, 8 seconds ago
>
> Hello,
>
> emacs-22.1 does not indent the following excerpt correctly because the 
> syntactic
> analyser tags the members appearing after "abaz" as k&r arguments.
>
> ==========
> #define FOO(t) struct { struct t tv; struct t *tp; }
>
> struct baz {
>   int nothing;
> };
>
> struct bar {       /* ((topmost-intro 84)) */
>   FOO(baz) abaz;   /* ((inclass 88) (topmost-intro 88)) */
>          int a;  /* ((knr-argdecl 145)) !!! */
> };
> =========
>
> emacs-21 works ok; it gives ((inclass . 88) (topmost-intro . 134)) for "int 
> a;".




reply via email to

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