2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Print a more sensible error if yyparse() returns non-zero but

yyerror() was not called.
This commit is contained in:
Todd C. Miller
2012-01-04 15:45:03 -05:00
parent a1815e17ca
commit 0f5eaa17fd
3 changed files with 8 additions and 4 deletions

View File

@@ -822,7 +822,7 @@ init_parser(const char *path, int quiet)
parse_error = false;
errorlineno = -1;
errorfile = NULL;
errorfile = sudoers;
verbose = !quiet;
debug_return;