unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Daniel Colascione <dan.colascione@gmail.com>
Cc: 7579@debbugs.gnu.org, Chong Yidong <cyd@gnu.org>
Subject: bug#7579: cc-mode c++ template-typed variable decl regression
Date: Tue, 14 Feb 2012 16:11:53 +0000	[thread overview]
Message-ID: <20120214161153.GC15736@acm.acm> (raw)
In-Reply-To: <20120214152443.GB15736@acm.acm>

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).





  reply	other threads:[~2012-02-14 16:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 10:55 bug#7579: cc-mode c++ template-typed variable decl regression Daniel Colascione
2010-12-07 13:17 ` Daniel Colascione
2012-02-14 14:14 ` Chong Yidong
2012-02-14 15:24   ` Alan Mackenzie
2012-02-14 16:11     ` Alan Mackenzie [this message]
2012-02-14 17:12       ` Andreas Schwab
2012-02-14 17:16       ` Daniel Colascione
2012-02-21 14:05         ` Alan Mackenzie
2016-02-04 19:09 ` Alan Mackenzie
2016-02-04 19:17   ` Daniel Colascione

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120214161153.GC15736@acm.acm \
    --to=acm@muc.de \
    --cc=7579@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=dan.colascione@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).