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: Alan Mackenzie
Subject: Re: address@hidden: c-mode syntactic analysis regression in emacs-22.1]
Date: Sun, 6 Jan 2008 20:53:53 +0000
User-agent: Mutt/1.5.9i

Hello, Richard and Glenn,

Yes, I'm looking at this now!

On Sun, Jan 06, 2008 at 02:39:21PM -0500, Glenn Morris wrote:
> 
> 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;".
> 

-- 
Alan Mackenzie (Nuremberg, Germany).




reply via email to

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