summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-10-19 11:39:57 -0600
committerKarl Williamson <khw@cpan.org>2018-10-20 00:09:56 -0600
commit15cab4d70522286feb2fcb1e7313b2f995343181 (patch)
tree75a9e122a5de79bf05ff81a4008a5de2a9089a5a /regcomp.h
parent7c932d07cab18751bfc7515b4320436273a459e2 (diff)
downloadperl-15cab4d70522286feb2fcb1e7313b2f995343181.tar.gz
Remove references to passes from regex compiler
The previous commit removed the sizing pass, but to minimize the difference listing, it left in all the references it could to the various passes, with the first pass set to FALSE. This commit now removes those references, as well as to some variables that are no longer used.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/regcomp.h b/regcomp.h
index c0b2c07ec5..7f8761e3f3 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -381,9 +381,6 @@ struct regnode_ssc {
#define REG_MAGIC 0234
-#define SIZE_ONLY FALSE
-#define PASS1 SIZE_ONLY
-#define PASS2 (! SIZE_ONLY)
/* An ANYOF node is basically a bitmap with the index being a code point. If
* the bit for that code point is 1, the code point matches; if 0, it doesn't
* match (complemented if inverted). There is an additional mechanism to deal