On 01/08/2011 10:29 AM, Joel E. Denny wrote:
> id       -|({letter}|-({letter}|-))({letter}|[-0-9])*

Sorry, I guess I don't understand the point of this.
Why should "---39---" be an identifier?  And if so,
why should "--39--" *not* be an identifier?

The more I think about this, the more I think that it
is a mistake for Bison to allow "-" in identifiers.
This is incompatible with C and with C++ and with Java,
and is bound to lead to more problems elsewhere.  Can
someone remind me why we're doing this?

Reply via email to