bug-standards
[Top][All Lists]
Advanced

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

Re: indentation of structures/enums


From: Karl Berry
Subject: Re: indentation of structures/enums
Date: Sat, 31 Mar 2012 16:16:13 -0700

Hi Alfred,

Here is rms's reply.  Would you like to make a draft patch for
standards.texi?

Thanks,
Karl


From: Richard Stallman <address@hidden>
To: address@hidden (Karl Berry)

I think it is ugly to have the open-brace on the same line
as the enum or struct keyword, unless the whole contents are on that line.

Thus,

struct foo { int a, b; };

or

struct foo
{
  int a, b;
};



reply via email to

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