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 /intrpvar.h | |
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 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h index 27058d70c3..5d9ac11e19 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -227,8 +227,6 @@ PERLVAR(I, secondgv, GV *) /* $b */ PERLVAR(I, efloatbuf, char *) PERLVAR(I, efloatsize, STRLEN) -PERLVAR(I, regdummy, regnode) /* from regcomp.c */ - PERLVARI(I, dumpindent, U16, 4) /* number of blanks per dump indentation level */ |