summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-11-13 20:51:08 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-11-22 13:32:52 -0800
commit2bb1f15cf3c668a3c56c1bc9c3ce74475ad2d425 (patch)
treed08d896e08d21082f556305ecc1b07ed6c252bdf /regcomp.h
parent9051cfd9557f46c1fdfd9c547a13b33438bd40b0 (diff)
downloadperl-2bb1f15cf3c668a3c56c1bc9c3ce74475ad2d425.tar.gz
regcomp.h: Renumber ANYOF_EOS bit
This is in preparation for adding a new bit which for debugging ease ought to be adjacent to another one.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/regcomp.h b/regcomp.h
index 4fb119ed01..b2d5cba9cb 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -323,15 +323,15 @@ struct regnode_charclass_class {
#define ANYOF_CLASS ANYOF_LOCALE
#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */
-/* EOS used for regstclass only */
-#define ANYOF_EOS 0x10 /* Can match an empty string too */
-
/* Set if the bitmap doesn't fully represent what this node can match */
#define ANYOF_NONBITMAP 0x20
#define ANYOF_UNICODE ANYOF_NONBITMAP /* old name, for back compat */
#define ANYOF_UNICODE_ALL 0x40 /* Matches 0x100 - infinity */
+/* EOS used for regstclass only */
+#define ANYOF_EOS 0x80 /* Can match an empty string too */
+
#define ANYOF_FLAGS_ALL 0xff
/* Character classes for node->classflags of ANYOF */