projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
65b06e0
)
Eliminate the use of PL_curforce outside of toke.c
Dave Mitchell [Sun, 1 Apr 2007 01:22:20 +0000 (
01:22
+0000)]
p4raw-id: //depot/perl@30821
perl.c
patch
|
blob
|
blame
|
history
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
67a7907
..
e18d5cc
100644
(file)
--- 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
920b6d2
..
a9e3d88
100644
(file)
--- 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;