diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-07 15:13:29 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2010-12-11 15:57:46 -0700 |
commit | 30e9bc90ff255ffc2e220a3b10772597a8d8423a (patch) | |
tree | 6b8a050b2dfd4c9ca09f54ac1f76a3fa82e7d604 /regcomp.c | |
parent | a1f3213ba6ba505766fbd1a7636a29ffe462cfe9 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |