This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: PL_copline inconsistency
authorRick Delaney <rick@consumercontact.com>
Sat, 27 Jan 2007 20:29:02 +0000 (15:29 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 12 Feb 2007 15:27:31 +0000 (15:27 +0000)
Message-ID: <20070128012902.GA21572@bort.ca>

p4raw-id: //depot/perl@30228

toke.c

diff --git a/toke.c b/toke.c
index 46066d1..26f706e 100644 (file)
--- 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);