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: Wed, 19 Jan 2011 22:27:00 -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/19/2011 12:13 AM, Alex Rozenman wrote:
> it is impossible to obtain an unambiguous grammar with syntax extensions
> like id '[' c_id ']' without involving the ';' requirement.

Yes, but that's OK; that's what I'm proposing.  That is, I'm proposing that
if a user wants to use the new syntax extensions, the user also must put ';'
at the end of each rule.

It's OK to require ';' for new grammars.  Omitting ';' has been deprecated
for many years, and no new grammars should be omitting ';'.



reply via email to

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