problem in bison patch

Terry Chan tpchan at comcast.net
Wed Jan 5 13:35:34 UTC 2005


Try updating your moonbase.  bison is already at version 2.0 and
there is no longer ANY patch in the module.

Terry Chan
------------------------------------------------------------
On Wed, Jan 05, 2005 at 01:55:55AM -0800, Edd Budulea wrote:
> hi the bison patch for the bison v 1.875 has in <CR>
> where it should not.
> the actual patch has:
> -#define YYERROR		goto yyerrlab1
> +#define YYERROR	        ]b4_location_if([do
> +\
> +                         {                           
>  \
> +                           yylerrsp = yylsp;         
>  \
> +                           *++yylerrsp = yyloc;      
>  \
> 
> with will make bison generate an uncompilable source
> the patch should be like:
> -#define YYERROR		goto yyerrlab1
> +
> +#define YYERROR	        ]b4_location_if([do \
> +                         {                           
>  \
> +                           yylerrsp = yylsp;         
>  \
> +                           *++yylerrsp = yyloc;      
>  \
> 
> in this way it will compile.


More information about the Lunar mailing list