#include "sudo.h"
#include "parse.h"
-#ifndef lint
-__unused static const char rcsid[] = "$Sudo: gram.c,v 1.34 2008/11/09 14:15:36 millert Exp $";
-#endif /* lint */
-
/*
* We must define SIZE_MAX for yacc's skeleton.c.
* If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t
init_aliases();
+ init_lexer();
+
efree(sudoers);
sudoers = path ? estrdup(path) : NULL;
parse_error = FALSE;
errorlineno = -1;
+ errorfile = NULL;
sudolineno = 1;
verbose = !quiet;
}
-#line 758 "y.tab.c"
+#line 761 "y.tab.c"
/* allocate initial stack or double stack size, up to YYMAXDEPTH */
#if defined(__cplusplus) || defined(__STDC__)
static int yygrowstack(void)
yyval.member = new_member(yyvsp[0].string, WORD);
}
break;
-#line 1498 "y.tab.c"
+#line 1501 "y.tab.c"
}
yyssp -= yym;
yystate = *yyssp;