]> git.saurik.com Git - bison.git/blobdiff - NEWS
support $<tag>$ in printers and destructors
[bison.git] / NEWS
diff --git a/NEWS b/NEWS
index b97956cccf16b923dd3ab87b04b703f1bba58f4c..56961cc26ccabf7f2f8090e5856a3f120893ea76 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,16 @@ GNU Bison NEWS
 
 *** glr.cc: set_debug_level and debug_level work as expected.
 
+** Type names in printers and destructors
+
+  For consistency with rule actions, it is now possible to qualify $$ by a
+  type-name in printers and destructors.  For instance:
+
+    %printer { fprintf (yyo, "(%d, %f)", $<ival>$, $<fval>$); } <*> <>;
+
+  will display two values for each typed and untyped symbol (provided
+  that YYSTYPE supports it).
+
 * Noteworthy changes in release 2.6 (2012-07-19) [stable]
 
 ** Future Changes