summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-11-25 20:18:31 -0700
committerKarl Williamson <public@khwilliamson.com>2013-12-31 08:27:21 -0700
commitb63f73da77d33ea333580a2a6f820aa7f38cbf97 (patch)
tree74fb9cdc82957c98f9fb2bd52b24cb3ebf9de9e3 /regcomp.h
parent5dbb0c086b3025f9e48420fe3db4747e977ecfd6 (diff)
downloadperl-b63f73da77d33ea333580a2a6f820aa7f38cbf97.tar.gz
regcomp.h: Reorder some #defines
There are no logic changes. The previous commit changed the numbers for some of the bits. This commit re-arranges things so that the #defines are again in numerical order.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/regcomp.h b/regcomp.h
index 21a418cb4c..3db3c156c3 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -327,14 +327,6 @@ struct regnode_ssc {
* used in synthetic start class (SSC) nodes, so could be shared should new
* flags be needed for SSCs. */
-#define ANYOF_LOCALE 0x02 /* /l modifier */
-
-/* The fold is calculated and stored in the bitmap where possible at compile
- * time. However under locale, the actual folding varies depending on
- * what the locale is at the time of execution, so it has to be deferred until
- * then */
-#define ANYOF_LOC_FOLD 0x04
-
/* regexec.c is expecting this to be in the low bit */
#define ANYOF_INVERT 0x01
@@ -343,6 +335,14 @@ struct regnode_ssc {
* regex compilation. */
#define ANYOF_EMPTY_STRING ANYOF_INVERT
+#define ANYOF_LOCALE 0x02 /* /l modifier */
+
+/* The fold is calculated and stored in the bitmap where possible at compile
+ * time. However under locale, the actual folding varies depending on
+ * what the locale is at the time of execution, so it has to be deferred until
+ * then */
+#define ANYOF_LOC_FOLD 0x04
+
/* Set if this is a regnode_charclass_posixl vs a regnode_charclass. This
* is used for runtime \d, \w, [:posix:], ..., which are used only in locale
* and the optimizer's synthetic start class. Non-locale \d, etc are resolved