From: Gisle Aas Date: Fri, 15 Sep 2000 16:23:41 +0000 (+0200) Subject: Re: Trapping by opmask sets strange parser state [PATCH] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=76be56bccb2fd29f88a574150eb43ba6f16612c6;p=p5sagit%2Fp5-mst-13.2.git Re: Trapping by opmask sets strange parser state [PATCH] Message-Id: p4raw-id: //depot/perl@7098 --- diff --git a/toke.c b/toke.c index 9834d90..4b65d62 100644 --- a/toke.c +++ b/toke.c @@ -357,7 +357,6 @@ Perl_lex_start(pTHX_ SV *line) SAVEVPTR(PL_nextval[toke]); } SAVEI32(PL_nexttoke); - PL_nexttoke = 0; } SAVECOPLINE(PL_curcop); SAVEPPTR(PL_bufptr); @@ -391,6 +390,7 @@ Perl_lex_start(pTHX_ SV *line) PL_lex_stuff = Nullsv; PL_lex_repl = Nullsv; PL_lex_inpat = 0; + PL_nexttoke = 0; PL_lex_inwhat = 0; PL_sublex_info.sub_inwhat = 0; PL_linestr = line;