summaryrefslogtreecommitdiff
path: root/op_reg_common.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-09-17 17:57:17 -0600
committerKarl Williamson <khw@cpan.org>2014-09-29 11:07:40 -0600
commit9a7d4f5f5c4be53dfbc55ca52953e3794a5ef68a (patch)
tree84e714dfa47af24f4736385abf4e266919f8bdeb /op_reg_common.h
parent13f27704e67ca16eefc14851c1cbf02be39509c6 (diff)
downloadperl-9a7d4f5f5c4be53dfbc55ca52953e3794a5ef68a.tar.gz
op_reg_common.h: #define in terms of more basic one
The mask to copy bits should always include at least the compile-time bits. By defining it in terms of the compile-time bits, we make it easier to change and understand.
Diffstat (limited to 'op_reg_common.h')
-rw-r--r--op_reg_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op_reg_common.h b/op_reg_common.h
index 108589ee60..67e2439e38 100644
--- a/op_reg_common.h
+++ b/op_reg_common.h
@@ -96,7 +96,7 @@ 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_KEEPCOPY|RXf_PMf_CHARSET)
-#define RXf_PMf_FLAGCOPYMASK (RXf_PMf_MULTILINE|RXf_PMf_SINGLELINE|RXf_PMf_FOLD|RXf_PMf_EXTENDED|RXf_PMf_KEEPCOPY|RXf_PMf_CHARSET|RXf_PMf_SPLIT)
+#define RXf_PMf_FLAGCOPYMASK (RXf_PMf_COMPILETIME|RXf_PMf_SPLIT)
/* Exclude win32 because it can't cope with I32_MAX definition */
#ifndef WIN32