summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toke.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toke.c b/toke.c
index 46066d14fd..26f706ebed 100644
--- a/toke.c
+++ b/toke.c
@@ -677,6 +677,7 @@ Perl_lex_start(pTHX_ SV *line)
SAVEDESTRUCTOR_X(restore_rsfp, PL_rsfp);
SAVEINT(PL_expect);
+ PL_copline = NOLINE;
PL_lex_state = LEX_NORMAL;
PL_expect = XSTATE;
Newx(parser->lex_brackstack, 120, char);