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

From: Alan Mackenzie <[email-masked]>
Date: 24 Jun 2016 14:43:33 -0000

Hello, Eli.

In article <[email-masked]> you wrote:
>> Date: 22 Jun 2016 08:54:29 -0000
>> From: Alan Mackenzie <[email-masked]>
>> Cc: Rolf Ade <[email-masked]>

[ .... ]

> 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).