gnu-misc-discuss
[Top][All Lists]
Advanced

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

Re: indent problem


From: silversurfer2025
Subject: Re: indent problem
Date: 14 Jul 2006 08:37:26 -0700
User-agent: G2/0.2

Alfred M. Szmidt schrieb:

> Insteat of putting the brackets behind the method name into the SAME
>    line such as:
>
>    void testMethod(int test) {
>    //whatever here
>    }
>
>    it gives:
>    void testMethod(int test)
>    {
>    //whatever here
>    }
>
> This is intended.  K&R indentation style puts the brace in column 0
> for functions.  The -br option is for `if' statements, etc.
thanks..
so how do I change the code to not put brackets of functions into the
next line?



reply via email to

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