X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f91b1629440cb52b851004570b7f280e79167383..12e3584054c16ab255672c07af0ffc7bb220e8bc:/NEWS diff --git a/NEWS b/NEWS index 75e0284f..c3fe6d03 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,25 @@ Changes in version 2.3a+ (????-??-??): * The -g and --graph options now output graphs in Graphviz DOT format, not VCG format. +* Bison now recognizes two separate kinds of default %destructor's and + %printer's: + + 1. Place `<*>' in a %destructor/%printer symbol list to define a default + %destructor/%printer for all grammar symbols for which you have formally + declared semantic type tags. + + 2. Place `' in a %destructor/%printer symbol list to define a default + %destructor/%printer for all grammar symbols without declared semantic + type tags. + + Bison no longer supports the `%symbol-default' notation from Bison 2.3a. + `<*>' and `' combined achieve the same effect with one exception: Bison no + longer applies any %destructor to a mid-rule value if that mid-rule value is + not actually ever referenced using either $$ or $n in a semantic action. + + See the section `Freeing Discarded Symbols' in the Bison manual for further + details. + * The Yacc prologue alternatives from Bison 2.3a have been rewritten as the following directives: