GNU bug report logs -
#23818
25.0.95.3: c-beginning-of-defun misbehaviour
Previous Next
Reported by: Rolf Ade <rolf <at> pointsman.de>
Date: Wed, 22 Jun 2016 00:20:02 UTC
Severity: normal
Found in version 25.0.95.3
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello, Eli.
In article <mailman.2009.1466608581.1216.bug-gnu-emacs <at> gnu.org> you wrote:
>> Date: 22 Jun 2016 08:54:29 -0000
>> From: Alan Mackenzie <acm <at> muc.de>
>> Cc: Rolf Ade <rolf <at> pointsman.de>
[ .... ]
> I don't understand how can CC Mode reliably distinguish the example in
> the report from a function that returns a pointer to a function (in
> which case what the current code does is correct).
The solution to the bug involves, in part, configuring CC Mode so that it
knows that "DBG" is a "macro with semicolon". The other part of the
solution involves testing for such macros at the pertinent spot in
c-beginning-of-decl-1.
See my direct reply to the OP (not yet written).
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 7 years and 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.