GNU bug report logs - #73182
CC Mode 5.35.2 (C++//l); 'enum' and 'enum class' appear to not get parsed correctly for indentation

Previous Next

Package: cc-mode;

Reported by: Arsen Arsenović <arsen <at> aarsen.me>

Date: Wed, 11 Sep 2024 18:53:01 UTC

Severity: normal

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: Arsen Arsenović <arsen <at> aarsen.me>
Cc: acm <at> muc.de, 73182 <at> debbugs.gnu.org
Subject: bug#73182: CC Mode 5.35.2 (C++//l); 'enum' and 'enum class' appear to not get parsed correctly for indentation
Date: Tue, 24 Sep 2024 21:06:32 +0000
Hello, Arsen.

On Mon, Sep 23, 2024 at 21:31:02 +0000, Alan Mackenzie wrote:
> On Wed, Sep 18, 2024 at 18:59:45 +0200, Arsen Arsenović wrote:

[ .... ]

> I have implemented the above, with new sytactic symbols enum-open,
> enum-close, enum-intro, and enum-entry.  I have also enhanced the manual
> and the test suite accordingly.  The patch is currently ~1250 lines long.

> In the next day or two I will remove all my change annotations, and write
> a commit message.  It should be completed and committed soon.

Now done.  The new scheme is now in the master branch.

Before I close the bug, could you give the code a quick testing, please,
just to be as sure as possible that the change is correct.  Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 298 days ago.

Previous Next


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