[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23775: 25.0.95.2; c-mode: Incorrect indentation and function bundery
From: |
Noam Postavsky |
Subject: |
bug#23775: 25.0.95.2; c-mode: Incorrect indentation and function bundery detection |
Date: |
Wed, 15 Jun 2016 21:34:11 -0400 |
On Wed, Jun 15, 2016 at 9:05 PM, Rolf Ade <rolf@pointsman.de> wrote:
> However well advised such code is, gcc foo.c just compilies.
s/well/ill/? gcc compiles the below as well, but IMO you can't expect
Emacs to be able to properly handle every horrible trick that's
possible with the preprocessor.
#define BEGIN {
#define STOP ;
int main() BEGIN
int a, b STOP
if (a == 0) BEGIN
if (b==0) {
return 0 STOP
}
}
}