For the body of the function, our recommended style looks like this:

      @example
    + struct quux
    + @{
    +   int a, b;
    + @};
    + 

Thanks.  I thought it would be nice to have a bit of text too, so I've
just installed this change:

--- standards.texi      11 Mar 2012 00:25:31 -0000      1.214
+++ standards.texi      8 Apr 2012 00:20:02 -0000
@@ -2432,2 +2432,14 @@ lots_of_args (int an_integer, long a_lon
 
+For @code{struct} and @code{enum} types, likewise put the braces in
+column one, unless the whole contents fits on one line:
+
+@example
+struct foo
+@{
+  int a, b;
+@}
+@exdent @r{or}
+struct foo @{ int a, b; @}
+@end example
+
 The rest of this section gives our recommendations for other aspects of

Reply via email to