GNU bug report logs - #7917
[PATCH] cc-mode: not all templates are types

Previous Next

Packages: cc-mode, emacs;

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

Date: Wed, 26 Jan 2011 06:22:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Found in version 24.5

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 7917 <at> debbugs.gnu.org, dan.colascione <at> gmail.com
Subject: bug#7917: [PATCH] cc-mode: not all templates are types
Date: Sat, 27 Feb 2016 14:33:36 +1030
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Daniel Colascione <dancol <at> dancol.org> writes:
>
>> For me --- empty scratch buffer, c++-mode, emacs -Q, pasting in
>> this example, the name of the second function is fontified as a type,
>> not a function name. In the third function, in the call to foo<int>, foo
>> is also fontified as a type, although it shouldn't be fontified as
>> anything at all.
>
> Oh, yeah, that's true.  

And your patch fixes the issue.  Does anybody have any objections to
applying the patch?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 21 days ago.

Previous Next


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