[Top][All Lists]

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

bug#23775:; c-mode: Incorrect indentation and function bundery

From: Rolf Ade
Subject: bug#23775:; c-mode: Incorrect indentation and function bundery detection
Date: Wed, 22 Jun 2016 01:16:00 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hello Alan,

Am 06/16/2016 11:18 AM, Alan Mackenzie wrote:
I tried once before to solve this problem, but didn't get very far.  What
was obvious, at the time, was that a solution would slow CC Mode down,
possibly quite a bit.

So, we've collectively decided that this bug, although real, won't be
fixed.  The best advice we can give is to arrange the C code such that
unbalanced braces in #if arms don't happen.


Just for the record: I stumbled about that in the wild. This function:
triggers the bug.

I stripped down to a minimal example from that, not from the idea to
do "preprocessor tricks" to fool c-mode.

reply via email to

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