Re: Comma at end of enum lists

H. Peter Anvin
2008-03-29T17:54:52Z

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