[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24246: 25.0.95; (c++-mode) custom/extra types not getting highlighte
From: |
Alan Mackenzie |
Subject: |
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 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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).