diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-03 09:15:22 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-04 11:43:23 -0800 |
commit | 14c287842e05fc65fd5d35b6ce06734e2fa161bc (patch) | |
tree | 6ffb59bf3da695dfaab4f4f8220e8debaa695aa6 /utf8.h | |
parent | 7b597bb8ab6914a0dfcb8d6fb5c4ca99855e5762 (diff) | |
download | perl-14c287842e05fc65fd5d35b6ce06734e2fa161bc.tar.gz |
utf8.h: Add whitespace for readability
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -183,8 +183,8 @@ Perl's extended UTF-8 means we can have start bytes up to FF. * bytes from an ordinal that is known to fit into two bytes; it must be less * than 0x3FF to work across both encodings. */ /* Nocast allows these to be used in the case label of a switch statement */ -#define UTF8_TWO_BYTE_HI_nocast(c) UTF_TO_NATIVE(((c)>>UTF_ACCUMULATION_SHIFT)|UTF_START_MARK(2)) -#define UTF8_TWO_BYTE_LO_nocast(c) UTF_TO_NATIVE(((c)&UTF_CONTINUATION_MASK)|UTF_CONTINUATION_MARK) +#define UTF8_TWO_BYTE_HI_nocast(c) UTF_TO_NATIVE(((c) >> UTF_ACCUMULATION_SHIFT) | UTF_START_MARK(2)) +#define UTF8_TWO_BYTE_LO_nocast(c) UTF_TO_NATIVE(((c) & UTF_CONTINUATION_MASK) | UTF_CONTINUATION_MARK) #define UTF8_TWO_BYTE_HI(c) ((U8) (UTF8_TWO_BYTE_HI_nocast(c))) #define UTF8_TWO_BYTE_LO(c) ((U8) (UTF8_TWO_BYTE_LO_nocast(c))) |