regcomp.h: Reorder some #defines
authorKarl Williamson <public@khwilliamson.com>
Tue, 26 Nov 2013 03:18:31 +0000 (20:18 -0700)
committerKarl Williamson <public@khwilliamson.com>
Tue, 31 Dec 2013 15:27:21 +0000 (08:27 -0700)
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.

regcomp.h

index 21a418c..3db3c15 100644 (file)
--- 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