From: Akim Demaille Date: Wed, 17 Jan 2007 08:44:55 +0000 (+0000) Subject: * doc/bison.texinfo (Calc++ Parser): Don't try to alias X-Git-Tag: v2.3b~177 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/a8c2e813f2c33f37558adeb0b01b190f93f6562f?ds=inline * doc/bison.texinfo (Calc++ Parser): Don't try to alias nonterminals. Use per-type %printer. --- diff --git a/ChangeLog b/ChangeLog index d9b0b990..65cc914d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-17 Akim Demaille + + * doc/bison.texinfo (Calc++ Parser): Don't try to alias + nonterminals. + Use per-type %printer. + 2007-01-17 Joel E. Denny * NEWS, data/c++-skel.m4, data/c++.m4, data/c-skel.m4, data/c.m4, diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 0a9b83d4..542b1215 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -7969,7 +7969,7 @@ avoid name clashes. %token ASSIGN ":=" %token IDENTIFIER "identifier" %token NUMBER "number" -%type exp "expression" +%type exp @end example @noindent @@ -7982,7 +7982,7 @@ To enable memory deallocation during error recovery, use %printer @{ debug_stream () << *$$; @} "identifier" %destructor @{ delete $$; @} "identifier" -%printer @{ debug_stream () << $$; @} "number" "expression" +%printer @{ debug_stream () << $$; @} @end example @noindent