Re: Debugging "$4"

Akim Demaille <[email protected]> Fri, 9 Oct 2020 06:13:20 +0200
Newsgroups gmane.comp.parsers.bison.general
Message-ID <[email protected]>
Hi Hans,

> Le 8 oct. 2020 à 18:06, Hans Åberg <[email protected]> a écrit :
> 
> When you compile, did you get a shift/reduce conflict? —I recall Bison chooses the reduce over shift.

Nope, in unresolved S/R conflicts, shifts win.  That's what you want for if-then-else.