[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47EE8261.6010300@zytor.com>
Date: Sat, 29 Mar 2008 10:54:41 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Al Viro <viro@...IV.linux.org.uk>
CC: Jacek Luczak <difrost.kernel@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Comma at end of enum lists
Al Viro wrote:
>
> when you know there won't any additions past the last line (for that matter,
> ending it with
> Baz,
> Sentry_foo,
> Max_foo = Sentry_foo - 1
> }; is also an option, in which case the end of enum will never be touched
> at all).
>
Yes, that's a very important exception. Don't put the comma in if you
want the set to be actively closed.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists