bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Do not allow identifiers that start with a negative number.


From: Paul Eggert
Subject: Re: [PATCH] Do not allow identifiers that start with a negative number.
Date: Tue, 25 Jan 2011 00:52:43 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/24/2011 07:47 PM, Joel E. Denny wrote:
> Named references are experimental, and 
> omitting semicolons is deprecated, so I don't see any pressing need to 
> address this now.

OK, but this would mean that we would allow grammars that have
named references but omit semicolons, and this would mean
trouble later if we start rejecting such grammars.

Hmm, how about if we work around the problem for now,
by refusing to accept such grammars?  That is, we have one
variable keep track whether named references are used, and another
to keep track whether any semicolons are omitted, and exit
with nonzero status if both variables are set.  That would
be a small change to what we have now, and would allow us
freedom of implementation later.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]