summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-12-16 11:40:18 -0700
committerKarl Williamson <khw@cpan.org>2015-12-17 22:13:57 -0700
commitb3b1cf1722eaa296a49e261c8e670d45491983b5 (patch)
tree9094afa1a77dfc23babc82f160b847aea879445b /regcomp.h
parent108316fb65dc7243a1c5d87b4b29068b7d62d32e (diff)
downloadperl-b3b1cf1722eaa296a49e261c8e670d45491983b5.tar.gz
regcomp.h: Renumber 2 flag bits
This changes the spare bit to be adjacent to the LOC_FOLD bit, in preparation for the next commit, which will use that bit for a LOC_FOLD-related use.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/regcomp.h b/regcomp.h
index 8dfe85ec01..d962d55700 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -443,17 +443,17 @@ struct regnode_ssc {
* then. Only set under /l; never in an SSC */
#define ANYOF_LOC_FOLD 0x04
+/* Spare: 0x08 */
+
/* If set, means to warn if runtime locale isn't a UTF-8 one. Only under /l.
* If set, none of INVERT, LOC_FOLD, POSIXL,
* ANYOF_SHARED_d_UPPER_LATIN1_UTF8_STRING_MATCHES_non_d_RUNTIME_USER_PROP can
* be set. Can be in an SSC */
-#define ANYOF_LOC_REQ_UTF8 0x08
+#define ANYOF_LOC_REQ_UTF8 0x10
/* If set, the node matches every code point NUM_ANYOF_CODE_POINTS and above.
* Can be in an SSC */
-#define ANYOF_MATCHES_ALL_ABOVE_BITMAP 0x10
-
-/* Spare: 0x20 */
+#define ANYOF_MATCHES_ALL_ABOVE_BITMAP 0x20
/* Shared bit:
* Under /d it means the ANYOFD node matches more things if the target