[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7579: cc-mode c++ template-typed variable decl regression
From: |
Alan Mackenzie |
Subject: |
bug#7579: cc-mode c++ template-typed variable decl regression |
Date: |
Tue, 14 Feb 2012 16:11:53 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello again,
On Tue, Feb 14, 2012 at 03:24:43PM +0000, Alan Mackenzie wrote:
> 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@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".
Please ignore this request. Obviously, for a function, there must be
either nothing in the parentheses or [<type> <value>]*.
--
Alan Mackenzie (Nuremberg, Germany).