diff options
author | David Mitchell <davem@iabyn.com> | 2013-05-31 22:24:54 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-06-02 22:28:54 +0100 |
commit | 6d59b6464a160af2e5775a8f6abef1dcad33d7f1 (patch) | |
tree | 72ff86d473f76dc4d21725c7acd40f355f1a6365 /regexp.h | |
parent | f65e70f560c80556143956eb9980619a9dfbe2f4 (diff) | |
download | perl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |