Move lexer globals initialization into init_lexer.

This commit is contained in:
Todd C. Miller
2011-03-27 09:45:42 -04:00
parent aed50b4d7b
commit 45b82039be
4 changed files with 76 additions and 74 deletions

View File

@@ -807,10 +807,9 @@ init_parser(const char *path, int quiet)
parse_error = FALSE;
errorlineno = -1;
errorfile = NULL;
sudolineno = 1;
verbose = !quiet;
}
#line 761 "y.tab.c"
#line 760 "y.tab.c"
/* allocate initial stack or double stack size, up to YYMAXDEPTH */
#if defined(__cplusplus) || defined(__STDC__)
static int yygrowstack(void)
@@ -1579,7 +1578,7 @@ case 96:
yyval.member = new_member(yyvsp[0].string, WORD);
}
break;
#line 1530 "y.tab.c"
#line 1529 "y.tab.c"
}
yyssp -= yym;
yystate = *yyssp;