tests: fix bison input file
commit9404f529bc178d75ee8003853e1fa67281cd080d
authorAkim Demaille <akim@lrde.epita.fr>
Sat, 14 Jul 2012 07:07:52 +0000 (14 09:07 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 10:10:22 +0000 (14 12:10 +0200)
treea1f0c6dfc3ed88ec91e984c033c874d63089172f
parent7e31ff5cb4b744454774c73032e95bba0a481506
tests: fix bison input file

Do not provide implementations in the %{...%} section, especially if the
header is included elsewhere, since then the linker will complain about
multiple definitions.

Reported by Stefano Lattarini,
<http://lists.gnu.org/archive/html/automake-patches/2012-07/msg00126.html>.

* t/yacc-bison-skeleton.sh (zardoz.y): Define yylex and yyerror in the
epilogue.
t/yacc-bison-skeleton.sh