summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-31 22:24:54 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:54 +0100
commit6d59b6464a160af2e5775a8f6abef1dcad33d7f1 (patch)
tree72ff86d473f76dc4d21725c7acd40f355f1a6365 /regexp.h
parentf65e70f560c80556143956eb9980619a9dfbe2f4 (diff)
downloadperl-6d59b6464a160af2e5775a8f6abef1dcad33d7f1.tar.gz
Eliminate PL_reg_starttry
Its only used for printing debugging messages, and its value is already available as the startpos local var in S_regmatch(). Whoo hoo! This var was the last field within the PL_reg_state global state struct.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexp.h b/regexp.h
index bd3aeb66b7..8256c8deeb 100644
--- a/regexp.h
+++ b/regexp.h
@@ -828,10 +828,10 @@ typedef struct regmatch_slab {
struct regmatch_slab *prev, *next;
} regmatch_slab;
-#define PL_reg_starttry PL_reg_state.re_state_reg_starttry
struct re_save_state {
- char *re_state_reg_starttry; /* from regexec.c */
+ /* temporarily give the struct a member till we delete the whole thing */
+ int dummy;
};
#define SAVESTACK_ALLOC_FOR_RE_SAVE_STATE \