summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-04-01 01:22:20 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-04-01 01:22:20 +0000
commit90e3715fae5c61e6e1833dc9ad520176419400f4 (patch)
tree7932be82c4132e863d8e844df2e23b924e540b60
parent65b06e02d98d79674a9890d225d9bbf7b8191dbe (diff)
downloadperl-90e3715fae5c61e6e1833dc9ad520176419400f4.tar.gz
Eliminate the use of PL_curforce outside of toke.c
p4raw-id: //depot/perl@30821
-rw-r--r--perl.c4
-rw-r--r--toke.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/perl.c b/perl.c
index 67a7907170..e18d5cc112 100644
--- a/perl.c
+++ b/perl.c
@@ -411,10 +411,6 @@ perl_construct(pTHXx)
PL_timesbase.tms_cstime = 0;
#endif
-#ifdef PERL_MAD
- PL_curforce = -1;
-#endif
-
ENTER;
}
diff --git a/toke.c b/toke.c
index 920b6d2819..a9e3d880a0 100644
--- a/toke.c
+++ b/toke.c
@@ -655,6 +655,7 @@ Perl_lex_start(pTHX_ SV *line)
}
}
SAVEI32(PL_curforce);
+ PL_curforce = -1;
#else
if (PL_lex_state == LEX_KNOWNEXT) {
I32 toke = PL_nexttoke;