GNU bug report logs - #59816
29.0.60; c++-ts-mode handles one-line comments badly

Previous Next

Package: emacs;

Reported by: Herman, Géza <geza.herman <at> gmail.com>

Date: Sun, 4 Dec 2022 13:00:02 UTC

Severity: normal

Found in version 29.0.60

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Theodor Thornhill <theo <at> thornhill.no>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 59816 <at> debbugs.gnu.org
Subject: bug#59816: 29.0.60; c++-ts-mode handles one-line comments badly
Date: Mon, 05 Dec 2022 18:07:49 +0100

On 5 December 2022 17:44:14 CET, Alan Mackenzie <acm <at> muc.de> wrote:
>Hello, Theodor,
>
>Perhaps a little different from the original bug report, but while you're
>at it, you may want to handle continued C++ line comments (I haven't
>checked whether you've done this already, so apologies if so).
>
>Here, in a comment, if the last character on the comment line is a \,
>this continues the comment onto the next line.  This backslash cannot
>itself be escaped, so a comment line ending in \\ continues on to the
>next line, too.
>

Do you mean fontlock-wise or syntax-wise? Maybe both?


>All the best with it!
>

Thanks, and thanks for the tip!

Theo :)




This bug report was last modified 2 years and 166 days ago.

Previous Next


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