[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: |
Sébastien Villemot |
Subject: |
Re: Regression in Bison 3.2 with variant semantic values in C++ parsers |
Date: |
Wed, 21 Nov 2018 14:46:19 +0100 |
Le mercredi 21 novembre 2018 à 13:15 +0100, Akim Demaille a écrit :
> > Le 21 nov. 2018 à 10:33, Sébastien Villemot <address@hidden> a écrit :
> > > 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!
And it was even worse before using variant semantic types, so thanks
for adding this feature!
> %parse-param { ParsingDriver &driver }
> %lex-param { ParsingDriver &driver }
>
> can be replaced with (since Bison 3.0)
>
> %param { ParsingDriver &driver }
Applied, thanks for the hint.
Best,
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ http://www.debian.org
signature.asc
Description: This is a digitally signed message part