summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-03-06 09:00:52 -0700
committerKarl Williamson <public@khwilliamson.com>2011-03-08 23:22:15 -0700
commitc8d3cd88811d23a268c37b61d1c0641a6d42d995 (patch)
tree806740b01b4103806c69e5ef4cfc0220bedbd1b4 /regcomp.h
parent3b9b32c914622129d88bd352d8269d046fa5efe5 (diff)
downloadperl-c8d3cd88811d23a268c37b61d1c0641a6d42d995.tar.gz
regcomp.c: Move #defines to be be in bit order
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/regcomp.h b/regcomp.h
index 8e96b75fc6..18c8f6f745 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -331,6 +331,11 @@ struct regnode_charclass_class {
#define ANYOF_INVERT 0x04
+/* CLASS is never set unless LOCALE is too: has runtime \d, \w, [:posix:], ...
+ * The non-locale ones are resolved at compile-time */
+#define ANYOF_CLASS 0x08
+#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */
+
/* EOS, meaning that it can match an empty string too, is used for the
* synthetic start class (ssc) only. It looks like it could share the INVERT
* bit, as the ssc is never inverted. But doing that caused this reges to
@@ -346,11 +351,6 @@ struct regnode_charclass_class {
* regexec.c" */
#define ANYOF_EOS 0x10
-/* CLASS is never set unless LOCALE is too: has runtime \d, \w, [:posix:], ...
- * The non-locale ones are resolved at compile-time */
-#define ANYOF_CLASS 0x08
-#define ANYOF_LARGE ANYOF_CLASS /* Same; name retained for back compat */
-
/* Can match something outside the bitmap that isn't in utf8 */
#define ANYOF_NONBITMAP_NON_UTF8 0x20