summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-10-31 12:05:23 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-10-31 16:00:53 -0700
commiteb91e30040d44cf387bdcd0ad4dd10fec2d95799 (patch)
tree50933416b1cc8d8c45d90a7603ecec7338207b23 /regcomp.h
parent20ed0b260f81efafa0c8e1cd9413ad026e3f19be (diff)
downloadperl-eb91e30040d44cf387bdcd0ad4dd10fec2d95799.tar.gz
ANYOF_LARGE is now the same as ANYOF_CLASS
These two #defines now mean the same thing. Free up bit used by ANYOF_LARGE
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/regcomp.h b/regcomp.h
index 9e1a4e3a9c..062bd019f5 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -313,7 +313,8 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */
/* Flags for node->flags of ANYOF */
-#define ANYOF_CLASS 0x08 /* has [[:blah:]] classes */
+#define ANYOF_CLASS 0x08 /* has runtime \d, \w, [:posix:], ... */
+#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */
#define ANYOF_INVERT 0x04
#define ANYOF_FOLD 0x02
#define ANYOF_LOCALE 0x01
@@ -325,9 +326,6 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */
#define ANYOF_UNICODE 0x20
#define ANYOF_UNICODE_ALL 0x40 /* Can match any char past 0xff */
-/* size of node is large (includes class pointer) */
-#define ANYOF_LARGE 0x80
-
/* Are there any runtime flags on in this node? */
#define ANYOF_RUNTIME(s) (ANYOF_FLAGS(s) & 0x0f)