X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/31b2b07ef765e9e8734ca273308094804fcc9763..34f98f46ee16dd3719d19e002dc27b2665a2514f:/tests/actions.at diff --git a/tests/actions.at b/tests/actions.at index 14cbb3c7..6267b74e 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -172,7 +172,7 @@ m4_if([$1$2$3], $[1]$[2]$[3], [], # helping macros. So don't put any directly in the Bison file. AT_BISON_OPTION_PUSHDEFS([$5]) AT_DATA_GRAMMAR([[input.y]], -[[%before-definitions { +[[%start-header { #include #include #include @@ -190,7 +190,7 @@ m4_ifval([$6], [%union int ival; }]) AT_LALR1_CC_IF([%define "global_tokens_and_yystype"]) -m4_ifval([$6], [[%after-definitions {]], [[%before-definitions {]]) +m4_ifval([$6], [[%end-header {]], [[%start-header {]]) AT_LALR1_CC_IF([typedef yy::location YYLTYPE; m4_ifval([$6], , [#define YYSTYPE int])]) [static int yylex (]AT_LEX_FORMALS[);