X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f50adbbdb02d476286814f538c2f0e20caa15199..2a8d363aabf1373d410deb96f5d030ccfed367a6:/NEWS diff --git a/NEWS b/NEWS index 183b129f..b6ab6934 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,22 @@ Bison News ---------- -Changes in version 1.50a: +Changes in version 1.75a, 2002-10-24: + +* Bison can no longer be built by a K&R C compiler; it requires C89 or + later to be built. This change originally took place a few versions + ago, but nobody noticed until we recently asked someone to try + building Bison with a K&R C compiler. + +* %error-verbose + This new directive is preferred over YYERROR_VERBOSE. + +* %lex-param, %parse-param + These new directives are preferred over PARSE_PARAM and LEX_PARAM. + In addition, they provide a means for yyerror to remain pure, and + to access to the current location. + +Changes in version 1.75, 2002-10-14: * Bison should now work on 64-bit hosts. @@ -14,6 +29,24 @@ Changes in version 1.50a: Some people redefine yyerror to steal yyparse' private variables. Reenable this trick until an official feature replaces it. +* Type Clashes + In agreement with POSIX and with other Yaccs, leaving a default + action is valid when $$ is untyped, and $1 typed: + + untyped: ... typed; + + but the converse remains an error: + + typed: ... untyped; + +* Values of mid-rule actions + The following code: + + foo: { ... } { $$ = $1; } ... + + was incorrectly rejected: $1 is defined in the second mid-rule + action, and is equal to the $$ of the first mid-rule action. + Changes in version 1.50, 2002-10-04: * GLR parsing