X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f50adbbdb02d476286814f538c2f0e20caa15199..d43baf71a71dc0fb20534f401d2b9bdfa6439927:/NEWS diff --git a/NEWS b/NEWS index 183b129f..9864fdea 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,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