X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/263137264fa5e5a9fb03bc75f941c14bedfe47c4..c955769a75197c3afddc9ea674439f3a49b82059:/NEWS diff --git a/NEWS b/NEWS index b62aac6d..b5c89040 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,49 @@ GNU Bison NEWS * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + Bugs and portability issues in the test suite have been fixed. + + Some errors in translations have been addressed, and --help now directs + users to the appropriate place to report them. + + Stray Info files shipped by accident are removed. + + Incorrect definitions of YY_, issued by yacc.c when no parser header is + generated, are removed. + + All the generated headers are self-contained. + +** Header guards (yacc.c, glr.c, glr.cc) + + In order to avoid collisions, the header guards are now + YY___INCLUDED, instead of merely _. + For instance the header generated from + + %define api.prefix "calc" + %defines "lib/parse.h" + + will use YY_CALC_LIB_PARSE_H_INCLUDED as guard. + +* Noteworthy changes in release 2.6.2 (2012-08-03) [stable] + +** Bug fixes + + Buffer overruns, complaints from Flex, and portability issues in the test + suite have been fixed. + +** Spaces in %lex- and %parse-param (lalr1.cc, glr.cc) + + Trailing end-of-lines in %parse-param or %lex-param would result in + invalid C++. This is fixed. + +** Spurious spaces and end-of-lines + + The generated files no longer end (nor start) with empty lines. + +* Noteworthy changes in release 2.6.1 (2012-07-30) [stable] + Bison no longer executes user-specified M4 code when processing a grammar. ** Future Changes @@ -28,15 +71,15 @@ GNU Bison NEWS for other actions such as printers, destructors, or initial actions. It now does. -** Type names in printers and destructors +** Type names in actions For consistency with rule actions, it is now possible to qualify $$ by a - type-name in printers and destructors. For instance: + type-name in destructors, printers, and initial actions. For instance: %printer { fprintf (yyo, "(%d, %f)", $$, $$); } <*> <>; will display two values for each typed and untyped symbol (provided - that YYSTYPE supports it). + that YYSTYPE has both "ival" and "fval" fields). * Noteworthy changes in release 2.6 (2012-07-19) [stable] @@ -1841,7 +1884,7 @@ along with this program. If not, see . LocalWords: namespaces strerror const autoconfiguration Dconst Autoconf's FDL LocalWords: Automake TMPDIR LESSEQ ylwrap endif yydebug YYTOKEN YYLSP ival hh LocalWords: extern YYTOKENTYPE TOKENTYPE yytokentype tokentype STYPE lval pdf - LocalWords: lang yyoutput dvi html ps POSIX lvalp llocp + LocalWords: lang yyoutput dvi html ps POSIX lvalp llocp calc yyo fval Local Variables: mode: outline