From: Alan Mackenzie <acm@muc.de>
To: Arash <pbqbqp@gmail.com>
Cc: 24246@debbugs.gnu.org
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 [thread overview]
Message-ID: <20160817122944.GA5258@acm.fritz.box> (raw)
In-Reply-To: <86inv0ph8m.fsf@gmail.com>
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).
next prev parent reply other threads:[~2016-08-17 12:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 20:54 bug#24246: 25.0.95; (c++-mode) custom/extra types not getting highlighted (as a type) after a wrapper::type argument Arash
2016-08-17 12:29 ` Alan Mackenzie [this message]
2016-08-17 18:21 ` Alan Mackenzie
2016-08-17 20:03 ` Arash
2016-08-18 9:49 ` Alan Mackenzie
2016-08-23 22:34 ` Michael Welsh Duggan
2016-09-08 15:18 ` Arash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160817122944.GA5258@acm.fritz.box \
--to=acm@muc.de \
--cc=24246@debbugs.gnu.org \
--cc=pbqbqp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).