I didn't see this option in my version of 'indent'

(GNU indent 2.2.10), so forgive me if it is already there, but
would it be possible to add an option to put or keep things like:

if (done) return done;

if (done)
  return done;

for(i=0; i<100; ++i) printf("%d\n", i);

while (! done) done=get_status();


on 1 line?

Primarily thinking about bracketless targets that follow a conditional
that easily fit on 1 line.

Thanks!








_______________________________________________
bug-indent mailing list
bug-indent@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to