]> 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:34:36 +0000 (17:34 +0200)
commit68fff38a09c92653f386aab7853b07da9e2f1ebc
treec0f4bbfaa71bc46d26191ba4248ac99b169677a5
parent56d60c19479822159e56960616cb3602e31f2a2c
%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.
(cherry picked from commit c50263271db482261b11f7452283c142a780a09d)

Conflicts:

data/c.m4
data/lalr1.cc
doc/bison.texinfo
etc/Makefile.am
data/c.m4
data/glr.cc
data/lalr1.cc
doc/bison.texinfo