GNU bug report logs - #7918
[PATCH] cc-mode: only the first clause of a for-loop should be checked for declarations

Previous Next

Packages: emacs, cc-mode;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Wed, 26 Jan 2011 06:29:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Found in version 25.2

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Colascione <dan.colascione <at> gmail.com>
Subject: bug#7918: closed (Re: bug#7918: [PATCH] cc-mode: only the first
 clause of a for-loop should be checked for declarations)
Date: Mon, 25 Apr 2016 18:09:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7918: [PATCH] cc-mode: only the first clause of a for-loop should be checked for declarations

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7918 <at> debbugs.gnu.org.

-- 
7918: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7918
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: 7918-done <at> debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Daniel Colascione <dancol <at> dancol.org>
Subject: Re: bug#7918: [PATCH] cc-mode: only the first clause of a for-loop
 should be checked for declarations
Date: Mon, 25 Apr 2016 18:04:30 +0000
Bug fixed in master branch.

-- 
Alan Mackenzie (Nuremberg, Germany).

[Message part 3 (message/rfc822, inline)]
From: Daniel Colascione <dan.colascione <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] cc-mode: only the first clause of a for-loop should be
	checked for declarations
Date: Tue, 25 Jan 2011 22:36:22 -0800
[Message part 4 (text/plain, inline)]
// This code has no variable declarations

void foo() {
    for (; (DWORD) a * b ;)
        ;

    for (; a * b ;)
        ;
}
[fix-for.patch (text/plain, attachment)]

This bug report was last modified 8 years and 13 days ago.

Previous Next


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