From d90c934c059552f82bc77b3343b3a52f28f242ef Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 14 Oct 2002 12:32:48 +0000 Subject: [PATCH] Update. --- NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- 2.45.2