Xref: utzoo comp.std.c:545 comp.windows.x:6594 Path: utzoo!attcan!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.std.c,comp.windows.x Subject: why isn't a trailing comma inside an enum allowed? Message-ID: <1787@solo7.cs.vu.nl> Date: 8 Dec 88 22:37:28 GMT References: <2174@vedge.UUCP> <9095@smoke.BRL.MIL> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatica, Amsterdam Lines: 14 In article <9095@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: \In article <2174@vedge.UUCP> lai@vedge.UUCP (David Lai) writes: \>Is this a bug or feature? \ \An unofficial feature. \ \>Should ANSI compilers allow this? \ \Definitely not! Trailing comma in an initializer list is allowed, though. ^^^^^^^^^^^^^^ Why? Why? Why! This almost makes me go weeping in the corner... -- fcntl(fd, F_SETFL, FNDELAY): |Maarten Litmaath @ VU Amsterdam: let's go weepin' in the corner! |maart@cs.vu.nl, mcvax!botter!maart