comma at end of enumerator-list

Henry Spencer henry at zoo.toronto.edu
Mon Jul 1 12:18:33 AEST 1991


In article <10756 at labtam.labtam.oz.au> timr at labtam.labtam.oz.au (Tim Roper) writes:
>	(a) a trailing comma at the end of an enumerator-list is not allowed,
>...  Does anyone know if (a) was considered an issue by X3J11
>and whether it is mentioned somewhere in the Rationale?

It does not appear to be mentioned.  If memory (of a secondhand report)
serves, the issue was raised but lack of implementation experience weighed
against it, as did dislike for unnecessary complexity in a feature that was
considered only barely worth including in the standard at all.

(You wouldn't know it from the way some people rant about X3J11's "changes"
to the language, but nearly everything in ANSI C existed in at least one
production C compiler already, and X3J11 almost always rejected ideas that
were not backed by implementation experience.)
-- 
Lightweight protocols?  TCP/IP *is*     | Henry Spencer @ U of Toronto Zoology
lightweight already; just look at OSI.  |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.std.c mailing list