emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24246: closed (25.0.95; (c++-mode) custom/extra ty


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24246: closed (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:51:01 +0000

Your message dated Thu, 18 Aug 2016 09:49:33 +0000
with message-id <address@hidden>
and subject line Re: bug#24246: 25.0.95; (c++-mode) custom/extra types not 
getting highlighted (as a type) after a wrapper::type argument.
has caused the debbugs.gnu.org bug report #24246,
regarding 25.0.95; (c++-mode) custom/extra types not getting highlighted (as a 
type) after a wrapper::type argument.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24246: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24246
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]