X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5a6755afcb50c29c04d2f605f885e69784d9d6cc..e4f0316ae096a728e62032fa33bc6c42cf4b6455:/tests/headers.at diff --git a/tests/headers.at b/tests/headers.at index f7ccb77b..a348d65b 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -57,17 +57,19 @@ AS_MKDIR_P([$dirname]) AT_DATA_GRAMMAR([$1.y], [%{ -#include "$1.h" +#include <$1.h> +void yyerror (const char *); +int yylex (void); %} %% dummy:; %% -#include "$1.h" +#include <$1.h> ]) AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y]) -AT_COMPILE([y.tab.o], [-c y.tab.c]) +AT_COMPILE([y.tab.o], [-I. -c y.tab.c]) AT_CLEANUP ])