diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-31 22:35:40 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-06-02 22:28:55 +0100 |
commit | b3d298be91e6629f3ce52b46c746fbe982114323 (patch) | |
tree | b5f058b39b0863258642a39b7640c007fb43bec3 /intrpvar.h | |
parent | 6d59b6464a160af2e5775a8f6abef1dcad33d7f1 (diff) | |
download | perl-b3d298be91e6629f3ce52b46c746fbe982114323.tar.gz |
eliminate PL_reg_state
This is a struct that holds all the global state of the current regex
match.
The previous set of commits have gradually removed all the fields of this
struct (by making things local rather than global state). Since the struct
is now empty, the PL_reg_state var can be removed, along with the
SAVEt_RE_STATE save type which was used to save and restore those fields
on recursive re-entry to the regex engine.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h index 32a9983e41..27058d70c3 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -119,8 +119,6 @@ PERLVAR(I, sv_objcount, IV) /* DEPRECATED AND UNMAINTAINED. PERLVAR(I, sv_root, SV *) /* storage for SVs belonging to interp */ PERLVAR(I, sv_arenaroot, SV *) /* list of areas for garbage collection */ -PERLVAR(I, reg_state, struct re_save_state) - /* fake PMOP that PL_curpm points to while in (?{}) so $1 et al are visible */ PERLVARI(I, reg_curpm, PMOP*, NULL) |