> Le 14 oct. 2014 à 18:21, Mike Aubury <m...@aubit.com> a écrit : > > Hi,
Hi Mike! > I've just tried compiling our opensource software using bison 3.0.2 - and > it seems %pure_parser isn't doing "what it used to do". > > I'm getting a "depreciated" message and told to change to "%pure-parser" - > which i've done but can you point me to any docs on how to get it so yylex > is called with the same parameters as before: > > yylex (void *pyylval, int yystate, void *yys1, void *yys2); > > > In particular - I *need* yystate.. The documentation should be clear about %lex-param. Actually the NEWS file contains indications about this change. > Also - are these changes compatible so the same file will compile with > older versions of bison ? It's hard to tell without seeing any of your code. But Bison has been supporting %lex-param for a long time. _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison