summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/parser.l b/parser.l
index 08bdfbb3..af6da051 100644
--- a/parser.l
+++ b/parser.l
@@ -589,3 +589,8 @@ void end_of_regex(void)
|| yy_top_state() == QSILIT)
yy_pop_state();
}
+
+void parse_init(void)
+{
+ protect(&yyin_stream, &prepared_error_message, (val *) 0);
+}