Re: Bug in glr2.cc

Akim Demaille <[email protected]> Sat, 15 Jan 2022 07:11:35 +0100
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Jot,

Sorry for not having picked up this issue sooner.

> Le 24 déc. 2021 à 23:38, Jot Dot <[email protected]> a écrit :
> I have spent a couple of hours slowly reducing my grammar to the point
> where it is about as small as I can make it.

This is excellent work, thanks a lot for this!

However the test case you provided does not compile, it still has dependencies.  I can probably get it to work, but without the actual input that crashed your parser, it would be useless.

Is it possible to get that input?  As a stream of tokens.  If passing the code here, publicly, is a problem, you can send it privately.


> Oh, btw: Seasons Greetings? Happy Holidays? Merry Christmas? (pick one or add one)
> Sorry to find it today (Dec 24) as this is a busy time for many people.

I'm late, but not yet too late, but...  Have a nice year Jot!


> I could remove this mess if we were able to make the %merge routines
> as members of the Parser class. hint hint - just a gentle nudge :)
> <parser.y>

Will do.  Thanks for the reminder :)