unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 69293@debbugs.gnu.org, Géza <geza.herman@gmail.com>,
	Herman@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	[thread overview]
Message-ID: <ZdtwWDzZ8VEu066h@ACM> (raw)
In-Reply-To: <86zfvs1vtn.fsf@gnu.org>

Hello, Eli.

On Thu, Feb 22, 2024 at 15:18:28 +0200, Eli Zaretskii wrote:
> > From: Herman@debbugs.gnu.org, Géza <geza.herman@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).





  reply	other threads:[~2024-02-25 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 20:21 bug#69293: 30.0.50; cc-mode doesn't support "if consteval" Herman, Géza
2024-02-22 13:18 ` Eli Zaretskii
2024-02-25 16:52   ` Alan Mackenzie [this message]
2024-03-22 13:34 ` Alan Mackenzie
2024-03-25  9:37   ` Herman, Géza
2024-03-26 21:12     ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZdtwWDzZ8VEu066h@ACM \
    --to=acm@muc.de \
    --cc=69293@debbugs.gnu.org \
    --cc=Herman@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=geza.herman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).