Subject: Re: bug#33973: Multi-line C++ raw string literal font lock is broken

From: Alan Mackenzie <[email-masked]>
Date: 7 Jan 2019 15:25:49 -0000

Hello, Li.

In article <[email-masked]> you wrote:
> [-- text/plain, encoding 7bit, charset: UTF-8, 102 lines --]

> Write a multi-line raw string literal in c++-mode, and font
> lock doesn't show the correct syntax highlighting. Sample code:

> const char* s1 = R"foo(
> Hello
> World
> )foo";

> const char* s2 = R"(
> Hello
> World
> )";

Yes.  Thank you for reporting this bug.  I'm working on fixing it, and
hope to commit a patch to master sometime in the next few days.

> In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin17.7.0, NS appkit-1561.60
> Version 10.13.6 (Build 17G65))
>  of 2019-01-04 built on C02WP42JHTD6
> Repository revision: fe4922cbf01fa9161ffa142fc70972098d48186f
> Repository branch: master
> Windowing system distributor 'Apple', version 10.3.1561
> System Description:  Mac OS X 10.13.6

[ .... ]

-- 
Alan Mackenzie (Nuremberg, Germany).