Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!uw-june!uw-entropy!dataio!bright From: bright@Data-IO.COM (Walter Bright) Newsgroups: comp.std.c Subject: enums Message-ID: <1608@dataio.Data-IO.COM> Date: 18 Jul 88 18:37:12 GMT Organization: Data I/O Corporation; Redmond, WA Lines: 8 From reading the grammar for enums in the Ansi spec, it seems that the following is not allowed: enum abc { }; /* empty member list */ enum def { b, }; /* trailing comma */ Many compilers accept this, and I've run across code that uses it. Any thoughts? Is this an oversight in the spec?