help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking changes ?


From: Akim Demaille
Subject: Re: Breaking changes ?
Date: Mon, 12 Jan 2015 11:43:47 +0100

> Le 14 oct. 2014 à 18:21, Mike Aubury <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]