X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/7b0ca050f7153f3d038243bf1182b23854996788..461f1516f8d301f5be532e496f6def0d15e502ed:/NEWS diff --git a/NEWS b/NEWS index 98516886..689c5019 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,45 @@ GNU Bison NEWS ** Bug fixes +*** Redeclarations are reported in proper order + + On + + %token FOO "foo" + %printer {} "foo" + %printer {} FOO + + bison used to report: + + /tmp/foo.yy:2.10-11: error: %printer redeclaration for FOO + %printer {} "foo" + ^^ + /tmp/foo.yy:3.10-11: previous declaration + %printer {} FOO + ^^ + + Now, the "previous" declaration is always the first one. + + +* Noteworthy changes in release 3.0.2 (2013-12-05) [stable] + +** Bug fixes + +*** Generated source files when errors are reported + + When warnings are issued and -Werror is set, bison would still generate + the source files (*.c, *.h...). As a consequence, some runs of "make" + could fail the first time, but not the second (as the files were generated + anyway). + + This is fixed: bison no longer generates this source files, but, of + course, still produces the various reports (*.output, *.xml, etc.). + +*** %empty is used in reports + + Empty right-hand sides are denoted by '%empty' in all the reports (text, + dot, XML and formats derived from it). + *** YYERROR and variants When C++ variant support is enabled, an error triggered via YYERROR, but