%printer: support both yyo and yyoutput.

lalr1.cc used to support yyo, but not yyoutput.  Support both,
but document only yyoutput (at least until there is some consensus
on this).

* data/c.m4 (yy_symbol_value_print): Also support yyo.
* data/glr.cc  (yy_symbol_value_print_): Support both yyo and yyoutput.
* data/lalr1.cc: Also support yyoutput.
* doc/bison.texinfo: Explicitly use yyoutput in the examples.
* examples/mfcalc/mfcalc.test: Test the -p option.
This commit is contained in:
Akim Demaille
2012-04-16 17:03:19 +02:00
parent 93c150b666
commit c50263271d
5 changed files with 13 additions and 7 deletions

View File

@@ -24,3 +24,4 @@ cat >input <<EOF
(1+2) * 3
EOF
run 0 9
run 0 9 -p