summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorYves Orton <yves.orton@booking.com>2014-01-31 02:49:30 +0800
committerYves Orton <yves.orton@booking.com>2014-01-31 02:49:30 +0800
commit5e11cd6399d690478e46778b19191fe65f8cf871 (patch)
treeca41a6a9d925571f4ae09a7a28e7465e45ce66ec /regexp.h
parent58430ea8e40621565404595aac210ff61babed01 (diff)
downloadperl-5e11cd6399d690478e46778b19191fe65f8cf871.tar.gz
rename RXf_UNUSED flags to match their BASE_SHIFT offset
So they stay stable as I move other flags from extflags to intflags
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/regexp.h b/regexp.h
index 1c063ab3ab..1368a8a943 100644
--- a/regexp.h
+++ b/regexp.h
@@ -389,8 +389,8 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp)
#define RXf_ANCH_MBOL (1<<(RXf_BASE_SHIFT+1))
#define RXf_ANCH_SBOL (1<<(RXf_BASE_SHIFT+2))
#define RXf_ANCH_GPOS (1<<(RXf_BASE_SHIFT+3))
-#define RXf_UNUSED1 (1<<(RXf_BASE_SHIFT+4))
-#define RXf_UNUSED2 (1<<(RXf_BASE_SHIFT+5))
+#define RXf_UNUSED4 (1<<(RXf_BASE_SHIFT+4))
+#define RXf_UNUSED5 (1<<(RXf_BASE_SHIFT+5))
/* two bits here */
#define RXf_ANCH (RXf_ANCH_BOL|RXf_ANCH_MBOL|RXf_ANCH_GPOS|RXf_ANCH_SBOL)
#define RXf_ANCH_SINGLE (RXf_ANCH_SBOL|RXf_ANCH_GPOS)
@@ -398,10 +398,10 @@ get_regex_charset_name(const U32 flags, STRLEN* const lenp)
/* What we have seen */
#define RXf_NO_INPLACE_SUBST (1<<(RXf_BASE_SHIFT+6))
#define RXf_EVAL_SEEN (1<<(RXf_BASE_SHIFT+7))
-#define RXf_UNUSED3 (1<<(RXf_BASE_SHIFT+8))
+#define RXf_UNUSED8 (1<<(RXf_BASE_SHIFT+8))
/* Special */
-#define RXf_UNUSED4 (1<<(RXf_BASE_SHIFT+9))
+#define RXf_UNUSED9 (1<<(RXf_BASE_SHIFT+9))
#define RXf_CHECK_ALL (1<<(RXf_BASE_SHIFT+10))
/* UTF8 related */