diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-31 22:57:21 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-06-02 22:28:55 +0100 |
commit | f7c7e32a45f023c8046ae1bacda1a9568fcfe755 (patch) | |
tree | 045ac3144e319d9fccf37b04eac05d5e0d64873c /sv.c | |
parent | b3d298be91e6629f3ce52b46c746fbe982114323 (diff) | |
download | perl-f7c7e32a45f023c8046ae1bacda1a9568fcfe755.tar.gz |
eliminate PL_regdummy
This global (per-interpreter) var is just used during regex compilation as
a placeholder to point RExC_emit at during the first (non-emitting) pass,
to indicate to not to emit anything. There's no need for it to be a global
var: just add it as an extra field in the RExC_state_t struct instead.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -13312,7 +13312,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, /* regex stuff */ - PL_regdummy = proto_perl->Iregdummy; PL_colorset = 0; /* reinits PL_colors[] */ /*PL_colors[6] = {0,0,0,0,0,0};*/ |