summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-15 09:05:14 -0600
committerKarl Williamson <khw@cpan.org>2015-08-01 10:34:50 -0600
commit1ff3baa2010b71ae4979337f9a5ac979cd516890 (patch)
tree4ce588d21b6cae10d0b4dad46a9980af2e666132 /utfebcdic.h
parent465ec97d385ebcbccc3851e183df40731041d82f (diff)
downloadperl-1ff3baa2010b71ae4979337f9a5ac979cd516890.tar.gz
utf8.h, utfebcdic.h: Add comments; white-space only
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index 61f5c6cff3..39eb30cdc5 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -161,17 +161,18 @@ END_EXTERN_C
/* Input is a true Unicode (not-native) code point */
#define OFFUNISKIP(uv) ( (uv) < 0xA0 ? 1 : \
- (uv) < 0x400 ? 2 : \
- (uv) < 0x4000 ? 3 : \
- (uv) < 0x40000 ? 4 : \
- (uv) < 0x400000 ? 5 : \
- (uv) < 0x4000000 ? 6 : 7 )
+ (uv) < 0x400 ? 2 : \
+ (uv) < 0x4000 ? 3 : \
+ (uv) < 0x40000 ? 4 : \
+ (uv) < 0x400000 ? 5 : \
+ (uv) < 0x4000000 ? 6 : 7 )
+
#define UNI_IS_INVARIANT(c) (((UV)(c)) < 0xA0)
/* UTF-EBCDIC semantic macros - transform back into I8 and then compare
* Comments as to the meaning of each are given at their corresponding utf8.h
- * definitions */
+ * definitions. */
#define UTF8_IS_START(c) (NATIVE_UTF8_TO_I8(c) >= 0xC5 \
&& NATIVE_UTF8_TO_I8(c) != 0xE0)