diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-12-30 15:16:57 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-12-31 08:27:21 -0700 |
commit | e9b08962fbb05ece388fd5076686a7edfd6dbe3b (patch) | |
tree | f7008f3a214dc1ecad0bc1a90bb869733d2b5676 /regcomp.h | |
parent | ae98608918f0b92985b47a5ac2987ebd9797be4c (diff) | |
download | perl-e9b08962fbb05ece388fd5076686a7edfd6dbe3b.tar.gz |
Output regex above-Unicode matching in syn strt class
A warning is supposed to be raised under some conditions when matching
an above-Unicode code point against a Unicode property. Prior to this
patch, if the synthetic start class excluded the code point, the warning
would be skipped, even though it was attempted to be matched.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -375,7 +375,7 @@ struct regnode_ssc { /* These are the flags that apply to both regular ANYOF nodes and synthetic * start class nodes during construction of the SSC. During finalization of * the SSC, other of the flags could be added to it */ -#define ANYOF_COMMON_FLAGS (ANYOF_LOCALE_FLAGS) +#define ANYOF_COMMON_FLAGS (ANYOF_LOCALE_FLAGS | ANYOF_WARN_SUPER) /* Character classes for node->classflags of ANYOF */ /* Should be synchronized with a table in regprop() */ |