X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/4395a9ff4fd518580b9abe9482783e8eba192f34..8bb3a2e7dfd705ff7cb78fb12028557a92b4feaf:/NEWS diff --git a/NEWS b/NEWS index b704ed52..57997905 100644 --- a/NEWS +++ b/NEWS @@ -223,8 +223,25 @@ Bison News were resolved with %nonassoc. Such tokens are now properly omitted from the list. +** Destructor calls fixed for lookaheads altered in semantic actions. + + Previously for deterministic parsers in C, if a user semantic action + altered yychar, the parser in some cases used the old yychar value to + determine which destructor to call for the lookahead upon a syntax + error or upon parser return. This bug has been fixed. + * Changes in version 2.4.2 (????-??-??): +** `%prec IDENTIFIER' requires IDENTIFIER to be defined separately. + + POSIX specifies that an error be reported for any identifier that does + not appear on the LHS of a grammar rule and that is not defined by + %token, %left, %right, or %nonassoc. Bison 2.3b and later lost this + error report for the case when an identifier appears only after a + %prec directive. It is now restored. However, for backward + compatibility with recent Bison releases, it is only a warning for + now. In Bison 2.5 and later, it will return to being an error. + ** Detection of GNU M4 1.4.6 or newer during configure is improved. ** Warnings from gcc's -Wundef option about undefined YYENABLE_NLS,