GNU bug report logs - #33973
Multi-line C++ raw string literal font lock is broken

Previous Next

Packages: cc-mode, emacs;

Reported by: Li Feng <li.feng <at> snap.com>

Date: Fri, 4 Jan 2019 05:53:01 UTC

Severity: minor

Tags: confirmed

Merged with 34791

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #18 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: control <at> debbugs.gnu.org
Subject: Re: bug#34791: 27.0.50; Raw C++ strings are not font-locked correctly
Date: Wed, 17 Apr 2019 21:29:32 -0400
forcemerge 33973 34791
quit

Ivan Andrus <darthandrus <at> gmail.com> writes:

> Raw C++ strings used to be font-locked correctly, and now they are not.
> I bisected and found bb591f139f0602af292c772f974dcc14dabb1deb to be the
> first bad commit.
>
> An example as
>
> auto rsi = R"JSON(
> 		{
>                  "calendarType": "GREGORIAN",
>                  "timezone": 21,
>                  "currentTimezoneOffset": 1
> 		}
>                )JSON"_Json;
>
> fails to font-lock correctly.






This bug report was last modified 3 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.