extern when possible. Remove unused initializations.
/* Exercise pre-prologue dependency to %union. */
typedef int value_t;
/* Exercise pre-prologue dependency to %union. */
typedef int value_t;
-value_t global_result = 0;
-int global_count = 0;
+static value_t global_result = 0;
+static int global_count = 0;
static void
yyerror (]AT_YYERROR_ARG_LOC_IF([YYLTYPE *yylloc, ])[
static void
yyerror (]AT_YYERROR_ARG_LOC_IF([YYLTYPE *yylloc, ])[
{
value_t result = 0;
int count = 0;
{
value_t result = 0;
int count = 0;
- int status = 0;
- yyin = NULL;
if (argc == 2)
yyin = fopen (argv[1], "r");
if (argc == 2)
yyin = fopen (argv[1], "r");