Re: Debugging "$4"
Hans Åberg <[email protected]> Fri, 9 Oct 2020 10:31:28 +0200
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
> On 9 Oct 2020, at 06:13, Akim Demaille <[email protected]> wrote: > > Hi Hans, Hello, >> 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. Bummer!