[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50640: 28.0.50; incorrect highlighting in C++ mode
From: |
Stefan Kangas |
Subject: |
bug#50640: 28.0.50; incorrect highlighting in C++ mode |
Date: |
Sat, 25 Sep 2021 11:17:07 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Vincent Lefevre <vincent@vinc17.net> writes:
> Consider a test.cc file containing:
>
> if (xMin - xt < t3Font->glyphX ||
> yMin - yt < t3Font->glyphY ||
> xMax - xt > t3Font->glyphX + t3Font->glyphW ||
> yMax - yt > t3Font->glyphY + t3Font->glyphH) {
> }
>
> (this comes from the xpdf source) and open it with "emacs -Q".
>
> The first two "xt" and "yt" are highlighted in green instead of
> remaining in black. If I remove the last condition as follows
> and reopen the file:
>
> if (xMin - xt < t3Font->glyphX ||
> yMin - yt < t3Font->glyphY ||
> xMax - xt > t3Font->glyphX + t3Font->glyphW) {
> }
>
> then only the "yt" is highlighted incorrectly.
Alan, could you take a look at this bug report?
(I don't know if you're subscribed to the bug list, my apologies if you
have already seen it.)