Move lexer globals initialization into init_lexer.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user