This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
346aefe
)
regcomp.h: Not all ANYOF flags are in use.
author
Karl Williamson
<khw@cpan.org>
Tue, 16 Feb 2016 03:32:32 +0000
(20:32 -0700)
committer
Karl Williamson
<khw@cpan.org>
Fri, 19 Feb 2016 03:26:50 +0000
(20:26 -0700)
So, it's better to not have a mask to include the unused ones.
regcomp.h
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.h
b/regcomp.h
index
44c2c1c
..
07e098a
100644
(file)
--- a/
regcomp.h
+++ b/
regcomp.h
@@
-553,7
+553,7
@@
struct regnode_ssc {
* are cautioned about its shared nature */
#define ANYOF_SHARED_d_MATCHES_ALL_NON_UTF8_NON_ASCII_non_d_WARN_SUPER 0x80
-#define ANYOF_FLAGS_ALL (0xff)
+#define ANYOF_FLAGS_ALL (0xff
& ~0x10
)
#define ANYOF_LOCALE_FLAGS (ANYOFL_FOLD | ANYOF_MATCHES_POSIXL)