Here are the parameters:

indent -nbad -bap -bls -br -brs -c1 -cdw -ce -ci1 -cli4 -l140 -lp -nut -ncs
-i4 -nbbo -nhnl -nbfda -nbc -nlps -lp -npcs -npsl -nsaf -sai -saw -sc -npcs
-nprs -ss -sob *

 

I've make a .c file looking like this:

 

void main() {

    While (0)

 

    {

    }

}

 

After the first run it looks like this:

void main() {

    while (0)

    {

    }

}

 

And after the second run (with the same parameters) if looks like this (as
it should):

void main() {

    while (0) {

    }

}

 

I've attached the files as reference.

Thanks,

Guy Aloni

Attachment: after-second-iteration.c
Description: Binary data

Attachment: source.c
Description: Binary data

Attachment: after-first-iteration.c
Description: Binary data

_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to