all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: koopafou <koopafou@hotmail.fr>
Cc: 33983@debbugs.gnu.org
Subject: bug#33983: 26.1; c++-mode syntax highlighting after some symbols
Date: Tue, 02 Feb 2021 15:59:47 +0100	[thread overview]
Message-ID: <87czxildlo.fsf@gnus.org> (raw)
In-Reply-To: <DB7PR05MB58203241D4CF411B403DE8C1BC8F0@DB7PR05MB5820.eurprd05.prod.outlook.com> (koopafou@hotmail.fr's message of "Sat, 5 Jan 2019 01:22:56 +0000")

koopafou <koopafou@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





      reply	other threads:[~2021-02-02 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-05  1:22 bug#33983: 26.1; c++-mode syntax highlighting after some symbols koopafou
2021-02-02 14:59 ` Lars Ingebrigtsen [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czxildlo.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=33983@debbugs.gnu.org \
    --cc=koopafou@hotmail.fr \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.