bug-indent
[Top][All Lists]
Advanced

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

Re: [Bug-indent] Usage question


From: david ingamells
Subject: Re: [Bug-indent] Usage question
Date: Mon, 28 Oct 2002 20:24:14 +0100

George,
do you mean this?
int mycall(int aaa, int bbb,
...)
{
}

you might use the -bdfe option, which from release 2.2.9 (out soon) will give
int mycall(
    int aaa,
    int bbb,
    ...)
{
}


On Friday 25 October 2002 2:53 am, Rowbottom, George wrote:
>  This is a question about using indent.  If I should send it to
>  someone else please let me know.
>
>  Here is what I am trying to do.
>  Given source like this:
>
>  mycall(aaa, bbb, ccc,
>      ddd, //comment
>      ddd,
>       ddd,
>        ddd, //comment
>        ddd,
>           eee)
>          {
>          }
>
>
>  I would like it to come out like:
>      mycall(aaa, bbb, ccc,
>                ddd, //comment
>                ddd,
>                ddd,
>                ddd, //comment
>                ddd,
>                eee)
>          {
>          }
>
>  But indent insists on joining lines so I get:
>
>  mycall (aaa, bbb, ccc, ddd, //comment
>              ddd, ddd, ddd,      //comment
>              ddd, eee)
>      {
>      }
>
>
>
>  How can I turn off the join?
>
>
>
>  Thanks very much
>
>  George
>
>  George Rowbottom
>  PowerTV SQA
>  address@hidden
>  408-777-5298

-- 
David Ingamells
address@hidden
+31 (0)13 509 3388     (home)
+31 (0)61 501 0947 (mobile)




reply via email to

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