]> git.saurik.com Git - bison.git/commit
%printer: support both yyo and yyoutput.
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 16 Apr 2012 15:03:19 +0000 (17:03 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 16 Apr 2012 15:04:14 +0000 (17:04 +0200)
commitc50263271db482261b11f7452283c142a780a09d
treea84c56b8d99f4cec72035a412ead909071ef3da1
parent93c150b666c3345bdd1527a5495a4787d8c3b5bf
%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.
data/c.m4
data/glr.cc
data/lalr1.cc
doc/bison.texinfo
examples/mfcalc/mfcalc.test