[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23775: 184.108.40.206; c-mode: Incorrect indentation and function bundery
bug#23775: 220.127.116.11; c-mode: Incorrect indentation and function bundery detection
Wed, 22 Jun 2016 01:16:00 +0200
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
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.