summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-31 22:35:40 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:55 +0100
commitb3d298be91e6629f3ce52b46c746fbe982114323 (patch)
treeb5f058b39b0863258642a39b7640c007fb43bec3 /scope.h
parent6d59b6464a160af2e5775a8f6abef1dcad33d7f1 (diff)
downloadperl-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 'scope.h')
-rw-r--r--scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.h b/scope.h
index 22c728d1be..a9ef5426f7 100644
--- a/scope.h
+++ b/scope.h
@@ -16,7 +16,7 @@
#define SAVEt_CLEARPADRANGE 1
#define SAVEt_CLEARSV 2
#define SAVEt_REGCONTEXT 3
-#define SAVEt_RE_STATE 4
+/*** SPARE 4 ***/
#define SAVEt_ARG0_MAX 4