* tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Do not use

local variables whose names begin with 'yy'.
* tests/calc.at (_AT_DATA_CALC_Y): Likewise.
This commit is contained in:
Paul Eggert
2005-09-21 21:05:53 +00:00
parent 58b90cc2d8
commit ebc3737ebf
3 changed files with 12 additions and 7 deletions

View File

@@ -72,7 +72,7 @@ static int power (int base, int exponent);
[/* yyerror receives the location if:
- %location & %pure & %glr
- %location & %pure & %yacc & %parse-param. */
static void yyerror (AT_YYERROR_ARG_LOC_IF([YYLTYPE *yylloc, ])
static void yyerror (AT_YYERROR_ARG_LOC_IF([YYLTYPE *llocp, ])
AT_PARAM_IF([semantic_value *result, int *count, ])
const char *s
);])[
@@ -145,7 +145,7 @@ yyparse (AT_PARAM_IF([semantic_value *result, int *count]))
}
],
[static void
yyerror (AT_YYERROR_ARG_LOC_IF([YYLTYPE *yylloc, ])
yyerror (AT_YYERROR_ARG_LOC_IF([YYLTYPE *llocp, ])
AT_PARAM_IF([semantic_value *result, int *count, ])
const char *s)
{