summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 83e43bfd11..efa2e101c0 100644
--- a/toke.c
+++ b/toke.c
@@ -681,7 +681,7 @@ Perl_lex_start(pTHX_ SV *line, PerlIO *rsfp, bool new_filter)
parser->nexttoke = 0;
#endif
parser->copline = NOLINE;
- PL_lex_state = LEX_NORMAL;
+ parser->lex_state = LEX_NORMAL;
parser->expect = XSTATE;
parser->rsfp = rsfp;
parser->rsfp_filters = (new_filter || !oparser) ? NULL