[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");

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?

reply via email to

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