mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* doc/bison.texinfo (Calc++ Parser): Don't try to alias
nonterminals. Use per-type %printer.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user