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: Mon, 14 Jan 2008 19:42:49 +0000
User-agent: Mutt/1.5.9i

[No apologies for top-posting!]

Hallo, Glenn,

I've just commited a patch to cc-engine.el (both in the trunk and
Emacs-22 branch) which fixes this.

How soon is Emacs 22.2 going to happen?  (I've got one or two other bug
fixes in CC Mode to transfer to savannah.)

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]