GNU bug report logs - #69293
30.0.50; cc-mode doesn't support "if consteval"

Previous Next

Package: emacs;

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

Date: Tue, 20 Feb 2024 20:23:01 UTC

Severity: normal

Found in version 30.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 69293 <at> debbugs.gnu.org, Géza <geza.herman <at> gmail.com>, Herman <at> debbugs.gnu.org
Subject: bug#69293: 30.0.50; cc-mode doesn't support "if consteval"
Date: Sun, 25 Feb 2024 16:52:40 +0000
Hello, Eli.

On Thu, Feb 22, 2024 at 15:18:28 +0200, Eli Zaretskii wrote:
> > From: Herman <at> debbugs.gnu.org, Géza <geza.herman <at> gmail.com>
> > Date: Tue, 20 Feb 2024 21:21:27 +0100


> > C++ has a new feature, "if consteval". So one can write code like

> > if consteval {
> >     // do something
> > } else {
> >     // do something else
> > }

> > The problem is that cc-mode doesn't recognize this construct, lines
> > are not indented correctly: the "// do something" and the "} else {"
> > receive an additional level of indentation.

> Alan, could you please look into this?

Yes, I will.  Thanks for the forwarding!

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 1 year and 109 days ago.

Previous Next


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