X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0410a6e0ccfe1bf6fd917a4cc06d4bdfdd980b8d..d110145422cc59a8d588735a4671fc4cae9aad76:/NEWS diff --git a/NEWS b/NEWS index 02b22d09..fa198bbe 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ Bison News ---------- -Changes in the next version (not yet released): +Changes in version 2.0b, 2005-07-24: * Bison-generated parsers now support the translation of diagnostics like "syntax error" into languages other than English. The default @@ -10,7 +10,19 @@ Changes in the next version (not yet released): distributors should also see the new PACKAGING file. Thanks to Bruno Haible for this new feature. -The following change was also in version 2.0a, 2005-05-22: +* Wording in the Bison-generated parsers has been changed slightly to + simplify translation. In particular, the message "memory exhausted" + has replaced "parser stack overflow", as the old message was not + always accurate for modern Bison-generated parsers. + +* Destructors are now called when the parser aborts, for all symbols left + behind on the stack. Also, the start symbol is now destroyed after a + successful parse. In both cases, the behavior was formerly inconsistent. + +* The yytname array now contains the same contents that it did in 2.0, + undoing an incompatible and undocumented change made in 2.0a. + +Changes in version 2.0a, 2005-05-22: * When generating verbose diagnostics, Bison-generated parsers no longer quote the literal strings associated with tokens. For example, for @@ -416,6 +428,8 @@ Changes in version 1.31, 2002-01-14: alloca is used only when compiled with GCC, to avoid portability problems as on AIX. +* yyparse now returns 2 if memory is exhausted; formerly it dumped core. + * When the generated parser lacks debugging code, YYDEBUG is now 0 (as POSIX requires) instead of being undefined.