X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/2ce1014469742b5c6618daf8506b69e38787c7d5..087c8fdae39621bccfbaba34fe9b2698009174a9:/tests/calc.at diff --git a/tests/calc.at b/tests/calc.at index 2031154e..e038eb28 100644 --- a/tests/calc.at +++ b/tests/calc.at @@ -245,7 +245,7 @@ AT_DEFINE([AT_DATA_CALC_Y], [_AT_DATA_CALC_Y($[1], $[2], $[3], [ifelse(regexp([$1], [--yyerror-verbose]), [-1], [], - [[#define YYERROR_VERBOSE]])])]) + [[#define YYERROR_VERBOSE 1]])])]) @@ -293,7 +293,7 @@ AT_DATA_CALC_Y([$1]) # Specify the output files to avoid problems on different file systems. AT_CHECK([bison calc.y -o calc.c patsubst([$1], [--yyerror-verbose])], [0], [], []) -AT_CHECK([$CC $CFLAGS calc.c -o calc], 0, [], []) +AT_CHECK([$CC $CFLAGS $CPPFLAGS calc.c -o calc], 0, [], []) # Test the priorities. _AT_CHECK_CALC([$1],