bug-bison
[Top][All Lists]
Advanced

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

Re: %type syntax


From: Akim Demaille
Subject: Re: %type syntax
Date: 12 Nov 2002 11:31:02 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

>>>>> "Paul" == Paul Eggert <address@hidden> writes:

>> From: Tomas Crhak <address@hidden> Organization: SuSE
>> 
>> %type x, y
>> 
>> This syntax was ok with bison 1.35. Is this syntax discouraged?

Paul> It doesn't conform to POSIX, so its use isn't portable, yes.

Paul> I'm not sure why Bison dropped support for it; I don't see what
Paul> harm its support did.

Entropy :(

The old parser was very flexible, but treated %type, %token, %nterm
and even %left and the others as if they were equivalent, but they
were not.  During the parser rewriting, I tried to have them behave
consistently.  Also, this was not documented, just as %<, %> etc. were
not either.




reply via email to

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