summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-08-15 12:53:17 -0600
committerKarl Williamson <khw@cpan.org>2015-09-04 10:49:22 -0600
commita95ec4fb1da4ce753d2a8f3ecb2027679198a3a2 (patch)
treed052601d0592bda6f20ed23d2bf71560f91cd699 /utf8.h
parent57162cb610bf790210fe4d1b677a47a50e6e92cf (diff)
downloadperl-a95ec4fb1da4ce753d2a8f3ecb2027679198a3a2.tar.gz
utf8.h: Add comment; white space changes
Diffstat (limited to 'utf8.h')
-rw-r--r--utf8.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/utf8.h b/utf8.h
index 233f44649a..668626f6eb 100644
--- a/utf8.h
+++ b/utf8.h
@@ -199,8 +199,8 @@ Perl's extended UTF-8 means we can have start bytes up to FF.
* */
#define UVCHR_IS_INVARIANT(uv) UNI_IS_INVARIANT(uv)
-/* Is the UTF8-encoded byte 'c' part of a variant sequence in UTF-8? This is
- * the inverse of UTF8_IS_INVARIANT */
+/* Misleadingly named: is the UTF8-encoded byte 'c' part of a variant sequence
+ * in UTF-8? This is the inverse of UTF8_IS_INVARIANT */
#define UTF8_IS_CONTINUED(c) (((U8)c) & 0x80)
/* Is the byte 'c' the first byte of a multi-byte UTF8-8 encoded sequence?
@@ -547,7 +547,9 @@ case any call to string overloading updates the internal UTF-8 encoding flag.
#define UTF8_ALLOW_FFFF 0
#define UTF8_ALLOW_SURROGATE 0
-#define UTF8_DISALLOW_ILLEGAL_INTERCHANGE (UTF8_DISALLOW_SUPER|UTF8_DISALLOW_NONCHAR|UTF8_DISALLOW_SURROGATE|UTF8_DISALLOW_FE_FF)
+#define UTF8_DISALLOW_ILLEGAL_INTERCHANGE \
+ (UTF8_DISALLOW_SUPER|UTF8_DISALLOW_NONCHAR \
+ |UTF8_DISALLOW_SURROGATE|UTF8_DISALLOW_FE_FF)
#define UTF8_WARN_ILLEGAL_INTERCHANGE \
(UTF8_WARN_SUPER|UTF8_WARN_NONCHAR|UTF8_WARN_SURROGATE|UTF8_WARN_FE_FF)
#define UTF8_ALLOW_ANY \