[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regression in Bison 3.2 with variant semantic values in C++ parsers
From: |
Akim Demaille |
Subject: |
Re: Regression in Bison 3.2 with variant semantic values in C++ parsers |
Date: |
Wed, 21 Nov 2018 13:15:10 +0100 |
> Le 21 nov. 2018 à 10:33, Sébastien Villemot <address@hidden> a écrit :
>
>> I’ll wrap a 3.2.2 asap.
>
> Great, thanks. I confirm that your bison-3.2.1.9-1e55d.tar.xz tarball
> fixes the issue. So I’m looking forward for the 3.2.2 release.
Thanks for the feedback! I’ll roll the release tonight.
>> What project was hit?
>
> Dynare (see http://www.dynare.org)
>
> I pushed the following workaround:
> https://git.dynare.org/Dynare/preprocessor/commit/e22aa1c16258fc48bcfb53fde4a098899fce2d12
OMG, your parser is a monster!
FYI
%parse-param { ParsingDriver &driver }
%lex-param { ParsingDriver &driver }
can be replaced with (since Bison 3.0)
%param { ParsingDriver &driver }
> So far no numbered release is affected, the problem only affects the
> development branch (where we recently took advantage of variant
> semantic types).
I hope you won’t have to keep that ugly workaround.
Cheers!