summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-09-27 13:31:45 +0200
committerJames E Keenan <jkeenan@cpan.org>2022-12-30 12:44:32 -0500
commit5bc270a6a5d487c04b7199db80a39b75afd87b09 (patch)
treec4a25295ca5b1a81452eb51722f4af514ad63229
parent0e4b7886fb8b53178be4c51a1d029821dc98627c (diff)
downloadperl-5bc270a6a5d487c04b7199db80a39b75afd87b09.tar.gz
op_reg_common.h - break long defines
-rw-r--r--op_reg_common.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/op_reg_common.h b/op_reg_common.h
index e8770e6352..1273cb6f21 100644
--- a/op_reg_common.h
+++ b/op_reg_common.h
@@ -101,8 +101,20 @@ get_regex_charset(const U32 flags)
/* Mask of the above bits. These need to be transferred from op_pmflags to
* re->extflags during compilation */
-#define RXf_PMf_COMPILETIME (RXf_PMf_MULTILINE|RXf_PMf_SINGLELINE|RXf_PMf_FOLD|RXf_PMf_EXTENDED|RXf_PMf_EXTENDED_MORE|RXf_PMf_KEEPCOPY|RXf_PMf_NOCAPTURE|RXf_PMf_CHARSET|RXf_PMf_STRICT)
-#define RXf_PMf_FLAGCOPYMASK (RXf_PMf_COMPILETIME|RXf_PMf_SPLIT)
+#define RXf_PMf_COMPILETIME \
+ ( RXf_PMf_MULTILINE \
+ | RXf_PMf_SINGLELINE \
+ | RXf_PMf_FOLD \
+ | RXf_PMf_EXTENDED \
+ | RXf_PMf_EXTENDED_MORE \
+ | RXf_PMf_KEEPCOPY \
+ | RXf_PMf_NOCAPTURE \
+ | RXf_PMf_CHARSET \
+ | RXf_PMf_STRICT )
+
+#define RXf_PMf_FLAGCOPYMASK \
+ ( RXf_PMf_COMPILETIME \
+ | RXf_PMf_SPLIT )
/* Temporary to get Jenkins happy again
* See thread starting at http://nntp.perl.org/group/perl.perl5.porters/220710