[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37990: font-lock and string literals
From: |
Lars Ingebrigtsen |
Subject: |
bug#37990: font-lock and string literals |
Date: |
Sun, 17 Nov 2019 10:17:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Richter, Jörg <Joerg.Richter@pdv-FS.de> writes:
> I'm using emacs 26.3.
>
> Call:
>
> (font-lock-add-keywords
> 'c-mode
> '(
> ("\\<XXX\\>[^;]*;" 0 'font-lock-function-name-face t)))
>
> Then visit a .c file with this line:
>
> XXX("aaa");
>
> The line is rendered with font-lock-function-name-face, except the second "
> which has font-lock-warning-face.
> Somehow emacs thinks there is an unfinished string literal.
I'm able to reproduce this in Emacs 26, but not in Emacs 27, so I think
this has been fixed by now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#37990: font-lock and string literals,
Lars Ingebrigtsen <=