aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index 70c66b70f7..c1ce8a7462 100644
--- a/parse.y
+++ b/parse.y
@@ -765,8 +765,6 @@ program : {
$$ = $2;
parser->result = dispatch1(program, $$);
%*/
- lex_p = lex_pbeg = lex_pend = 0;
- lex_lastline = lex_nextline = 0;
}
;
@@ -4685,6 +4683,8 @@ yycompile0(VALUE arg, int tracing)
compile_for_eval = 0;
lex_strterm = 0;
+ lex_p = lex_pbeg = lex_pend = 0;
+ lex_lastline = lex_nextline = 0;
if (parser->nerr) {
return 0;
}