bug-bison
[Top][All Lists]
Advanced

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

Re: Another - Bison 1.35 works but Bison 1.50 Doesn't


From: Akim Demaille
Subject: Re: Another - Bison 1.35 works but Bison 1.50 Doesn't
Date: 14 Oct 2002 10:39:15 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

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

Paul> I just checked, and byacc does not warn about this particular
Paul> case, regardless of whether the mid-rule actions are present.
Paul> So I think we're OK from a compatibility standpoint.

There is one thing I kept in mind when I implemented this, and which I
didn't say.  I should have, because it matters to my eyes.

I was thinking that the default action could be really implemented as
a default action (a default: in the switch, or even an explicit action
per missing case:), not as a pre-action.  In languages which are more
properly type checked than C, our trick of typelessly pre-storing $1
in $$ is not a good thing TM.

So I was thinking that having the user make explicit what they want is
a better options.  Just as provision for the future.




reply via email to

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