From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#7579: cc-mode c++ template-typed variable decl regression Date: Tue, 14 Feb 2012 15:24:43 +0000 Message-ID: <20120214152443.GB15736@acm.acm> References: <87d39h33jq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329233148 31065 80.91.229.3 (14 Feb 2012 15:25:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2012 15:25:48 +0000 (UTC) Cc: 7579@debbugs.gnu.org, Chong Yidong To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 14 16:25:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxKGI-0003lD-OC for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Feb 2012 16:25:46 +0100 Original-Received: from localhost ([::1]:43256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKGI-0004pZ-9b for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Feb 2012 10:25:46 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKGA-0004p0-C6 for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2012 10:25:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxKG4-0007WL-Rm for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2012 10:25:38 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKFx-0007Va-Sa; Tue, 14 Feb 2012 10:25:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RxKHW-0005Qh-2l; Tue, 14 Feb 2012 10:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 14 Feb 2012 15:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7579 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 7579-submit@debbugs.gnu.org id=B7579.132923321620861 (code B ref 7579); Tue, 14 Feb 2012 15:27:02 +0000 Original-Received: (at 7579) by debbugs.gnu.org; 14 Feb 2012 15:26:56 +0000 Original-Received: from localhost ([127.0.0.1]:40502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxKHQ-0005QP-Cr for submit@debbugs.gnu.org; Tue, 14 Feb 2012 10:26:56 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:17438 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxKHJ-0005Q8-PU for 7579@debbugs.gnu.org; Tue, 14 Feb 2012 10:26:54 -0500 Original-Received: (qmail 72605 invoked by uid 3782); 14 Feb 2012 15:25:09 -0000 Original-Received: from acm.muc.de (pD9557CDB.dip.t-dialin.net [217.85.124.219]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 14 Feb 2012 16:25:03 +0100 Original-Received: (qmail 28387 invoked by uid 1000); 14 Feb 2012 15:24:43 -0000 Content-Disposition: inline In-Reply-To: <87d39h33jq.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56891 Archived-At: 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 wrote: > > /* In Emacs 23, adffdfa below is fontified as a variable. In Emacs HEAD, > > it is not. */ > > void foo() > > { > > mumble x(5); > > std::vector 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).