bug-standards
[Top][All Lists]
Advanced

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

Re: indentation of structures/enums


From: Alfred M. Szmidt
Subject: Re: indentation of structures/enums
Date: Mon, 26 Mar 2012 16:15:42 -0400

       Subject: indentation of structures/enums

   Seems like an rms question to me.  I'll forward.

   Does indent -gnu do something specific?  I did a couple experiments but
   couldn't come to a definite conclusion.

GNU indent like this,

char *foo = {
  "foo",
  "bar"
};

But this has always kinda looked out of place, since we otherwise
always put the brace on a seperate line.



reply via email to

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