X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/302c0aeeba0264be6031b48540ae4f2108a3d799..2c3b392a9ad550ca87f6e5172072cd0b70b15f1d:/NEWS diff --git a/NEWS b/NEWS index 2ab95345..29310169 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,25 @@ Bison News Changes in version 2.1a: +* %destructor vs. YYACCEPT, YYERROR, and YYABORT. + When the parsing/action is cut by the user using one of these + special actions, the stack is freed except the right-hand side + symbols of the current rule. + +* GLR, C++ LALR(1) parsers. + These parser skeletons are now distributed with the same special + license exception that the C LALR(1) parser skeleton has had since + Bison 1.24. Hence the FSF imposes no copyright restriction on the + output of Bison when it is generating such parsers. + +* %expect, %expect-rr + Incorrect numbers of expected conflicts are now actual errors, + instead of warnings. + +* GLR, YACC parsers. + The %parse-params are available in the %destructor's (and the + experimental %printer's) as per the documentation. + * Bison now warns if it finds a stray `$' or `@' in an action. * %require "VERSION" @@ -10,8 +29,8 @@ Changes in version 2.1a: Bison version VERSION or higher. * lalr1.cc: The token and value types are now class members. - The tokens where defined as free form enums and cpp macros. YYSTYPE - was defined as a free form union. Both are now class members: + The tokens were defined as free form enums and cpp macros. YYSTYPE + was defined as a free form union. They are now class members: tokens are enumerations of the `yy::parser::token' struct, and the semantic values have the `yy::parser::semantic_type' type. @@ -27,6 +46,8 @@ Changes in version 2.1a: Changes in version 2.1, 2005-09-16: +* The C++ lalr1.cc skeleton supports %lex-param. + * Bison-generated parsers now support the translation of diagnostics like "syntax error" into languages other than English. The default language is still English. For details, please see the new