[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of C indentation style ('{')
From: |
Richard Stallman |
Subject: |
Re: Change of C indentation style ('{') |
Date: |
Mon, 27 Oct 2003 02:02:21 -0500 |
That would also undo this improvement:
** Statements are recognized in a more robust way.
Statements are recognized most of the time even when they occur in an
"invalid" context, e.g. in a function argument. In practice that can
happen when macros are involved.
As an example, it fixes better indentation in this case:
void f() {
SOME_MACRO (
if (successful)
fprintf (stderr, "ok\n");
else
abort();
);
}
i see.
this test case has the { starting a fn body
not at col 0. does the improvement occur in the same way
when users put the { in col 0?
- Change of C indentation style ('{'), Kenichi Handa, 2003/10/22
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/23
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/24
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/25
- Re: Change of C indentation style ('{'),
Richard Stallman <=
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/27
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/28
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/29
- Re: Change of C indentation style ('{'), Miles Bader, 2003/10/29
- Re: Change of C indentation style ('{'), Martin Stjernholm, 2003/10/29
- Re: Change of C indentation style ('{'), Miles Bader, 2003/10/29
- Re: Change of C indentation style ('{'), Stefan Monnier, 2003/10/29
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/30
- Re: Change of C indentation style ('{'), Richard Stallman, 2003/10/30