summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-01-16 12:49:50 -0700
committerKarl Williamson <public@khwilliamson.com>2013-01-16 13:19:41 -0700
commit15824458089afc31a696bfb25c20085bfe548c8a (patch)
tree9ec8062ac73516a081db43e03d6b8ea1c2dd13f7 /utfebcdic.h
parent94e529cc4d56863d7272c254a29eda2b002a4335 (diff)
downloadperl-15824458089afc31a696bfb25c20085bfe548c8a.tar.gz
utf8.h: Add comments
This also reorders one #define to be closer to a related one.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index 4a662f6207..3e46ea51cb 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -564,7 +564,9 @@ END_EXTERN_C
#define UNI_IS_INVARIANT(c) ((c) < 0xA0)
-/* UTF-EBCDIC semantic macros - transform back into I8 and then compare */
+/* 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 */
#define UTF8_IS_START(c) (NATIVE_TO_UTF(c) >= 0xC5 && NATIVE_TO_UTF(c) != 0xE0)
#define UTF8_IS_CONTINUATION(c) ((NATIVE_TO_UTF(c) & 0xE0) == 0xA0)