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
(parent:
455e0d3
)
regcomp.c: Remove redundant code
author
Karl Williamson
<public@khwilliamson.com>
Mon, 31 Dec 2012 16:03:14 +0000
(09:03 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 31 Dec 2012 18:03:29 +0000
(11:03 -0700)
The statements just above the lines removed by this commit cause the
above-ASCII range to always match, not just under the conditions of the
removed code, so it is redundant.
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
26024e1
..
c536adc
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-11924,9
+11924,6
@@
parseit:
#endif
_invlist_union_complement_2nd(posixes,
PL_ASCII, &posixes);
- if (DEPENDS_SEMANTICS) {
- ANYOF_FLAGS(ret) |= ANYOF_NON_UTF8_LATIN1_ALL;
- }
#ifdef HAS_ISASCII
}
#endif