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 16:11:53 +0000 Message-ID: <20120214161153.GC15736@acm.acm> References: <87d39h33jq.fsf@gnu.org> <20120214152443.GB15736@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1329235973 22716 80.91.229.3 (14 Feb 2012 16:12:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2012 16:12:53 +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 17:12:50 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 1RxKzo-00035F-5q for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Feb 2012 17:12:48 +0100 Original-Received: from localhost ([::1]:51942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKzk-0000Vm-Ju for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Feb 2012 11:12:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKzd-0000Sp-PT for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2012 11:12:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxKzZ-0001Mn-QM for bug-gnu-emacs@gnu.org; Tue, 14 Feb 2012 11:12:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxKzR-0001LK-HT; Tue, 14 Feb 2012 11:12:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RxL10-0007KS-5l; Tue, 14 Feb 2012 11:14: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 16:14: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.132923604028158 (code B ref 7579); Tue, 14 Feb 2012 16:14:02 +0000 Original-Received: (at 7579) by debbugs.gnu.org; 14 Feb 2012 16:14:00 +0000 Original-Received: from localhost ([127.0.0.1]:40575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxL0y-0007K6-1B for submit@debbugs.gnu.org; Tue, 14 Feb 2012 11:14:00 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:52834 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RxL0u-0007Jv-QM for 7579@debbugs.gnu.org; Tue, 14 Feb 2012 11:13:58 -0500 Original-Received: (qmail 76610 invoked by uid 3782); 14 Feb 2012 16:12:16 -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 17:12:13 +0100 Original-Received: (qmail 28562 invoked by uid 1000); 14 Feb 2012 16:11:53 -0000 Content-Disposition: inline In-Reply-To: <20120214152443.GB15736@acm.acm> 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:56894 Archived-At: 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 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". Please ignore this request. Obviously, for a function, there must be either nothing in the parentheses or [ ]*. -- Alan Mackenzie (Nuremberg, Germany).