GNU bug report logs - #36484
c-mode hangs on macro with comment

Previous Next

Packages: cc-mode, emacs;

Reported by: Nicholas Drozd <nicholasdrozd <at> gmail.com>

Date: Wed, 3 Jul 2019 00:38:02 UTC

Severity: normal

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 36484 <at> debbugs.gnu.org (full text, mbox):

From: Nicholas Drozd <nicholasdrozd <at> gmail.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 36484 <at> debbugs.gnu.org
Subject: Re: bug#36484: c-mode hangs on macro with comment
Date: Thu, 4 Jul 2019 12:08:14 -0500
[Message part 1 (text/plain, inline)]
Works for me! Attached is a patch for an added cc-mode test case.

By the way, I came across this issue because a similar line appears in
a winning entry to the 1988 International Obfuscated C Code Contest
(https://www.ioccc.org/1988/dale.c). That line is included in the test
case.

Trivia question: which Emacs maintainer is a past IOCCC winner?
[0001-test-lisp-progmodes-cc-mode-tests.el-Add-test-for-bu.patch (text/x-patch, attachment)]

This bug report was last modified 6 years and 1 day ago.

Previous Next


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