--- Begin Message ---
Subject: |
25.0.95; (c++-mode) custom/extra types not getting highlighted (as a type) after a wrapper::type argument. |
Date: |
Wed, 17 Aug 2016 01:24:17 +0430 |
$ 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);
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24246: 25.0.95; (c++-mode) custom/extra types not getting highlighted (as a type) after a wrapper::type argument. |
Date: |
Thu, 18 Aug 2016 09:49:33 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hello, Arash.
On Thu, Aug 18, 2016 at 12:33:33AM +0430, Arash wrote:
> Thanks, fontification for function decs/defs got fixed but the problem
> still exists in e.g. init step of a for loop...
> for (wrapper::type a = 0, int32 b = 0; ; ) {
> ...
> }
This is actually a different bug - if you delete the "::", the problem
is still there. I've submitted bug #24258 for this problem, and I'm
working on it.
I'm closing the original bug now, since it appears to be fixed.
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---