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:
0c3c42d
)
regcomp.c: Reword expression for clarity
author
Karl Williamson
<public@khwilliamson.com>
Mon, 6 Jan 2014 18:55:17 +0000
(11:55 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 9 Jan 2014 21:05:44 +0000
(14:05 -0700)
I believe the new version is clearer as to what is meant, and it brings
it in line with the same expression in nearby uses.
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
f3d50cb
..
11b07ae
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-13423,7
+13423,7
@@
parseit:
_invlist_union_maybe_complement_2nd(
cp_list,
PL_XPosix_ptrs[classnum],
-
cBOOL(namedclass % 2),
/* Complement if odd
+
namedclass % 2 != 0,
/* Complement if odd
(NHORIZWS, NVERTWS)
*/
&cp_list);