summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-17 17:38:26 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:50 +0100
commit220db18a521ebfe89f81d1f28862104b021164f3 (patch)
treee834f8f0e32597cf420fb88d3bbf9dd53da073ab /sv.c
parent02d5137b98854dd95a1eb9d4bee9d44d656f2c16 (diff)
downloadperl-220db18a521ebfe89f81d1f28862104b021164f3.tar.gz
eliminiate PL_regeol
This is another global regex state variable (actually a field of PL_reg_state). Eliminate it by moving it into the regmatch_info struct instead, which is local to each match. Also, rename it to strend, which is a less misleading description in these exciting days of multi-line matches.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index ee5a9d6a7c..989400adaf 100644
--- a/sv.c
+++ b/sv.c
@@ -12903,8 +12903,6 @@ Perl_ss_dup(pTHX_ PerlInterpreter *proto_perl, CLONE_PARAMS* param)
new_state->re_state_bostr
= pv_dup(old_state->re_state_bostr);
- new_state->re_state_regeol
- = pv_dup(old_state->re_state_regeol);
#ifdef PERL_ANY_COW
new_state->re_state_nrs
= sv_dup(old_state->re_state_nrs, param);