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: 13 Oct 2002 09:22:16 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| Bison 1.35 reports
| conflics: 2 shift reduce.
| 
| Bison 1.50 reports
| 
| vcc.y:209.9-211.9: type clash (`' `vobj') on default action
| vcc.y:260.6-264.12: type clash (`' `str') on default action
| vcc.y:292.7-51: type clash (`' `str') on default action

You are fighting about the same error which repeats itself: somewhere
you have:

        foo: bar baz | qux | quux;

which stands for

        foo: bar baz { $$ = $1; } | qux { $$ = $1; } | quux{ $$ = $1; }; 

but some of these assignments are invalid.  So you need to say `no
assignment': 

        foo: bar baz {} | qux {} | quux {}; 

at these places.  Please, go to vcc.y:209.9-211.9 and so forth.




reply via email to

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