GNU bug report logs - #7579
cc-mode c++ template-typed variable decl regression

Previous Next

Packages: emacs, cc-mode;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Tue, 7 Dec 2010 10:54:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 7579 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Daniel Colascione <dan.colascione <at> gmail.com>
Cc: 7579 <at> debbugs.gnu.org, Chong Yidong <cyd <at> gnu.org>
Subject: Re: cc-mode c++ template-typed variable decl regression
Date: Tue, 14 Feb 2012 15:24:43 +0000
Hi, Daniel.

On Tue, Feb 14, 2012 at 10:14:33PM +0800, Chong Yidong wrote:
> Hi Alan,

> Could you take a look at Bug#7579 too?  Thanks:


> Daniel Colascione <dan.colascione <at> gmail.com> wrote:

> > /* In Emacs 23, adffdfa below is fontified as a variable. In Emacs HEAD,
> > it is not. */

> > void foo()
> > {
> >     mumble x(5);
> >     std::vector<int> adffdfa(1,2,3);
> > };

Are there any syntactic clues here that a variable rather than a function
is being declared?  All I can see is that numeric literals take the place
of "parameters".

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 9 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.