Re: Debugging "$4"

2020-10-09 Thread Hans Åberg
> On 9 Oct 2020, at 06:13, Akim Demaille wrote: > > Hi Hans, Hello, >> Le 8 oct. 2020 à 18:06, Hans Åberg 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 wha

Re: Debugging "$4"

2020-10-09 Thread Maury Markowitz
> On Oct 9, 2020, at 12:25 AM, Akim Demaille wrote: > > Are you sure the error is not elsewhere? E.g., in the execution of the tree. I'm 90% certain it *is* in that code, but I wanted to eliminate other possibilities first. Because g_list makes everything anon it's extremely difficult to debu