obscure ANSI question

Doug Gwyn gwyn at smoke.brl.mil
Fri Mar 1 03:40:51 AEST 1991


In article <12799 at helios.TAMU.EDU> byron at archone.tamu.edu (Byron Rakitzis) writes:
>I still have not seen (or found) the justification for making
>"enumeration-constant" a terminal symbol in the grammar; what's wrong
>with scanning in enumeration constants as normal identifiers?

An enumeration constant IS defined to be an identifier (3.1.3.3).

>(I have not yet blown the $50+ for the ANSI standard, but it's going
>to happen soon. Sigh, you think the ANSI standard was deliberately
>convoluted so that people would have to buy this enormous document.)

The people setting the price are not the ones who prepared the
content of the document.  In fact, the standard is not appreciably
more complex than is required to adequatly specify the language.



More information about the Comp.lang.c mailing list