summaryrefslogtreecommitdiff
path: root/plugins/sudoers/gram.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/gram.c')
-rw-r--r--plugins/sudoers/gram.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/sudoers/gram.c b/plugins/sudoers/gram.c
index 5cbdaca34..f1d784839 100644
--- a/plugins/sudoers/gram.c
+++ b/plugins/sudoers/gram.c
@@ -4007,6 +4007,12 @@ init_parser(const char *file)
return init_parser_ext(file, NULL, false, 1);
}
+bool
+reset_parser(void)
+{
+ return init_parser_ext(NULL, NULL, false, 1);
+}
+
/*
* Initialize all options in a cmndspec.
*/