GNU bug report logs - #24246
25.0.95; (c++-mode) custom/extra types not getting highlighted (as a type) after a wrapper::type argument.

Previous Next

Packages: emacs, cc-mode;

Reported by: Arash <pbqbqp <at> gmail.com>

Date: Tue, 16 Aug 2016 20:55:02 UTC

Severity: minor

Found in version 25.0.95

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 24246 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Arash <pbqbqp <at> gmail.com>
Cc: 24246 <at> debbugs.gnu.org
Subject: Re: bug#24246: 25.0.95; (c++-mode) custom/extra types not getting
 highlighted (as a type) after a wrapper::type argument.
Date: Wed, 17 Aug 2016 12:29:44 +0000
Hello, Arash.

On Wed, Aug 17, 2016 at 01:24:17AM +0430, Arash wrote:
> $ emacs -Q ab.cc

> typedef int int32;

> namespace wrapper {
>     enum type { a, b, c };
> }

> // int32 doesn't get highlighted as a type.
> void test(wrapper::type A, int32 B);


> typedef wrapper::type wtype;

> // here it works, so double colon is the problem?
> void test(wtype A, int32 B);

Yes, it looks like the double colon exposes the problem.  I'll look into
it soon.

-- 
Alan Mackenzie (Nuremberg, Germany).




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

Previous Next


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