diff options
Diffstat (limited to 'tests/lexvpath.test')
-rwxr-xr-x | tests/lexvpath.test | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/lexvpath.test b/tests/lexvpath.test index 300a476db..93902b303 100755 --- a/tests/lexvpath.test +++ b/tests/lexvpath.test @@ -22,7 +22,7 @@ # Please keep this in sync with sister test `yaccvapth.test'. -required='gcc flex' +required='cc flex' . ./defs || Exit 1 cat > lexoutroot.in << 'END' @@ -52,7 +52,15 @@ cat > lexer.l << 'END' END cat > foo.c << 'END' -int main () { return 0; } +int main (void) +{ + return 0; +} +/* Avoid possible link errors. */ +int yywrap (void) +{ + return 0; +} END $ACLOCAL @@ -61,7 +69,7 @@ $AUTOMAKE -a mkdir sub -# We must run configure early, to find out whay $LEX_OUTPUT_ROOT is. +# We must run configure early, to find out why $LEX_OUTPUT_ROOT is. cd sub ../configure . ./lexoutroot |