tests: Fix various 'flex' compilation issues
commit826408a7f6ca4c39ff7b7ac9952c05f48110748f
authorMathieu Lirzin <mthl@gnu.org>
Thu, 18 Jan 2018 22:51:49 +0000 (18 23:51 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Fri, 19 Jan 2018 00:22:11 +0000 (19 01:22 +0100)
treeb960ae730d576c6a00ceef9a7023c08ba8b746b4
parent74f779b520da95224ec6e7f36fb033f3698661b9
tests: Fix various 'flex' compilation issues

* t/lex-clean-cxx.sh (parsefoo.lxx): Declare 'yylex':
(mainfoo.cc): Make declaration compatible with C++.
* t/lex-depend-cxx.sh (joe.ll): Declare 'yylex'.
* t/silent-many-languages.sh (Makefile.am, sub/Makefile.am): Link -lfl only
with 'fo2' and 'sub/ba2' which are the only program needing it.
(foo5.l): Define 'isatty'.
(foo6.y): Declare 'yylex'.
t/lex-clean-cxx.sh
t/lex-depend-cxx.sh
t/silent-many-languages.sh