* doc/bison.texinfo (Calc++ Parser): Don't try to alias

nonterminals.
Use per-type %printer.
This commit is contained in:
Akim Demaille
2007-01-17 08:44:55 +00:00
parent 279cabb657
commit a8c2e813f2
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2007-01-17 Akim Demaille <akim@epita.fr>
* doc/bison.texinfo (Calc++ Parser): Don't try to alias
nonterminals.
Use per-type %printer.
2007-01-17 Joel E. Denny <jdenny@ces.clemson.edu>
* NEWS, data/c++-skel.m4, data/c++.m4, data/c-skel.m4, data/c.m4,

View File

@@ -7969,7 +7969,7 @@ avoid name clashes.
%token ASSIGN ":="
%token <sval> IDENTIFIER "identifier"
%token <ival> NUMBER "number"
%type <ival> exp "expression"
%type <ival> 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 () << $$; @} <ival>
@end example
@noindent