X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/258b75caaa517febf55e1f6e479cbf298f9e5cde..55f0c7b1f26afabb7f356343f2650626e09fce51:/tests/actions.at diff --git a/tests/actions.at b/tests/actions.at index 7d7109f9..5dc64ae4 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -286,7 +286,7 @@ thing: ; %% /* Alias to ARGV[1]. */ -const char *yysource = 0; +const char *source = 0; static int yylex (]AT_LEX_FORMALS[) @@ -303,12 +303,12 @@ yylex (]AT_LEX_FORMALS[) AT_LOC.last_line = AT_LOC.last_column = AT_LOC.first_line + 9; ])[ - if (yysource[c]) - printf ("sending: '%c'", yysource[c]); + if (source[c]) + printf ("sending: '%c'", source[c]); else printf ("sending: EOF"); printf (" (%d@%d-%d)\n", c, RANGE (]AT_LOC[)); - return yysource[c]; + return source[c]; } ]AT_LALR1_CC_IF( @@ -340,7 +340,7 @@ main (int argc, const char *argv[]) int status; yydebug = !!getenv ("YYDEBUG"); assert (argc == 2); - yysource = argv[1]; + source = argv[1]; status = yyparse (); switch (status) {