mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
* tests/calc.at: Catch up with 1.30.
* configure.in: Bump to 1.49a. Adjust to newer Autotest.
This commit is contained in:
@@ -256,8 +256,8 @@ main (int argc, const char **argv)
|
||||
# Produce `calc.y'.
|
||||
m4_define([AT_DATA_CALC_Y],
|
||||
[_AT_DATA_CALC_Y($[1], $[2], $[3],
|
||||
[m4_match([$1], [--yyerror-verbose],
|
||||
[[#define YYERROR_VERBOSE 1]])])])
|
||||
[m4_bmatch([$1], [--yyerror-verbose],
|
||||
[[#define YYERROR_VERBOSE]])])])
|
||||
|
||||
|
||||
|
||||
@@ -338,7 +338,7 @@ AT_CHECK([bison calc.y -o calc.c m4_bpatsubst([$1], [--yyerror-verbose])],
|
||||
# warnings, but this place is not the right one for that.
|
||||
# So let's keep only GCC warnings, which we know are sane.
|
||||
AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], [stderr])
|
||||
AT_CHECK([test "$GCC" = yes && cat stderr])
|
||||
AT_CHECK([if test "$GCC" = yes; then cat stderr; else true; fi])
|
||||
|
||||
# Test the priorities.
|
||||
_AT_CHECK_CALC([$1],
|
||||
|
||||
Reference in New Issue
Block a user