From 9a7d4f5f5c4be53dfbc55ca52953e3794a5ef68a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 17 Sep 2014 17:57:17 -0600 Subject: 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. --- op_reg_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op_reg_common.h') 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 -- cgit v1.2.1