GNU bug report logs - #40188
check-declare-files does not include malformed declarations in the list

Previous Next

Package: emacs;

Reported by: Neil Okamoto <neil.okamoto <at> gmail.com>

Date: Mon, 23 Mar 2020 00:32:02 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Neil Okamoto <neil.okamoto <at> gmail.com>
To: 40188 <at> debbugs.gnu.org
Subject: bug#40188: check-declare-files does not include malformed declarations in the list
Date: Sun, 22 Mar 2020 17:31:03 -0700
[Message part 1 (text/plain, inline)]
As noted in the subject line: malformed declarations are noted by ‘check-declare-scan’ which logs a message in the ‘check-declare-warning-buffer’.  However that malformed declaration is not passed back to 'check-declare-files’, and therefore its not part of the error list returned from that function.

Software that uses  'check-declare-files' as a lint check would have to parse the warning buffer (an additional step) in order to catch these malformed declarations.

[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 283 days ago.

Previous Next


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