GNU bug report logs -
#33983
26.1; c++-mode syntax highlighting after some symbols
Previous Next
Reported by: koopafou <koopafou <at> hotmail.fr>
Date: Sat, 5 Jan 2019 01:35:01 UTC
Severity: minor
Tags: confirmed, fixed
Found in version 26.1
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 33983 <at> debbugs.gnu.org (full text, mbox):
koopafou <koopafou <at> hotmail.fr> writes:
> When I type symbols that start with the same characters as an operator
> alias
> followed by an array subscript, the index is colored like a namespace if
> it's a symbol as well.
> Examples :
>
> void a () {
> foo[bar]; // ok, foo doesn't start like an operator alias
> aor[bar]; // ok
> ora[1]; // starts with "or", but 1 is a number literal
> ora[bar][quux]; // bar is colored the same as std below, quux is fine
> std::sort;
> }
>
> int thing[bar]; // not colored
> int nothing[bar]; // colored
>
> struct A {
> int nanana[bar]; // not colored
> int andwhatever[bar]; // colored
> };
I could reproduce this problem with Emacs 26.1, but not with Emacs 27.1,
so I guess this has been fixed by now, and I'm closing this bug report.
If there's more to be done here, please respond to the debbugs address
and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.