summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-12-07 15:13:29 -0700
committerKarl Williamson <public@khwilliamson.com>2010-12-11 15:57:46 -0700
commit30e9bc90ff255ffc2e220a3b10772597a8d8423a (patch)
tree6b8a050b2dfd4c9ca09f54ac1f76a3fa82e7d604 /regcomp.c
parenta1f3213ba6ba505766fbd1a7636a29ffe462cfe9 (diff)
downloadperl-30e9bc90ff255ffc2e220a3b10772597a8d8423a.tar.gz
regcomp.c: Change constants for clarity.
Oddly, it is clearer to use 0xFF as an exclusive-or target instead of an unrelated #define that happens to have that value.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 2b76898341..afa6712253 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8932,7 +8932,7 @@ parseit:
* interaction with above 0x100 chars */
if ((ANYOF_FLAGS(ret) & ANYOF_FLAGS_ALL) == ANYOF_INVERT) {
for (value = 0; value < ANYOF_BITMAP_SIZE; ++value)
- ANYOF_BITMAP(ret)[value] ^= ANYOF_FLAGS_ALL;
+ ANYOF_BITMAP(ret)[value] ^= 0xFF;
ANYOF_FLAGS(ret) = ANYOF_UNICODE_ALL;
}