bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23818: 25.0.95.3: c-beginning-of-defun misbehaviour


From: Alan Mackenzie
Subject: bug#23818: 25.0.95.3: c-beginning-of-defun misbehaviour
Date: 24 Jun 2016 14:43:33 -0000
User-agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE-p4 (amd64))

Hello, Eli.

In article <mailman.2009.1466608581.1216.bug-gnu-emacs@gnu.org> you wrote:
>> Date: 22 Jun 2016 08:54:29 -0000
>> From: Alan Mackenzie <acm@muc.de>
>> Cc: Rolf Ade <rolf@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).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]