summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-06 20:47:15 -0600
committerKarl Williamson <khw@cpan.org>2015-05-07 17:32:47 -0600
commit2accb712600a36336d0544f369bc2a30ee70bdf3 (patch)
treeb85a8e840b54825766ec53c2076a51adc9002e3a
parentca2bf4b7509cb12126c80f55c7b9f389abd717aa (diff)
downloadperl-2accb712600a36336d0544f369bc2a30ee70bdf3.tar.gz
utf8.h: Add a #define
The name UVCHR... parallels the usage of various functions uvchr... It's less confusing to keep the same name form for the same type of functionality
-rw-r--r--utf8.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/utf8.h b/utf8.h
index 73e9588f8a..2c1acd2b80 100644
--- a/utf8.h
+++ b/utf8.h
@@ -326,9 +326,10 @@ Perl's extended UTF-8 means we can have start bytes up to FF.
/* Most code which says UNISKIP is really thinking in terms of native code
* points (0-255) plus all those beyond. This is an imprecise term, but having
- * it means existing code continues to work. For precision, use NATIVE_SKIP
- * and OFFUNISKIP */
+ * it means existing code continues to work. For precision, use UVCHR_SKIP,
+ * NATIVE_SKIP, and OFFUNISKIP */
#define UNISKIP(uv) NATIVE_SKIP(uv)
+#define UVCHR_SKIP(uv) NATIVE_SKIP(uv)
/* Convert a two (not one) byte utf8 character to a native code point value.
* Needs just one iteration of accumulate. Should not be used unless it is