summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-11-06 11:03:22 -0700
committerKarl Williamson <khw@cpan.org>2015-12-05 22:06:50 -0700
commit2084b489821c169e435fdad8723ad64f26eee179 (patch)
tree3ed5d49ec0e3cbfb37de2910345b078399fe00cb /utfebcdic.h
parentfdb6583df1c4f517177410eb3717709aebd3b25a (diff)
downloadperl-2084b489821c169e435fdad8723ad64f26eee179.tar.gz
utf8.h: Combine EBCDIC and ASCII macros
The previous commits have made these macros be the exact same text, so can be combined, and defined just once. This requires moving them to the portion of the file that is common with both EBCDIC and ASCII. The commit diff shows instead other code being moved.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index d7716f220d..e30612297c 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -201,11 +201,6 @@ above what a 64 bit word can hold */
(uv) < 0x4000000 ? 6 : \
(uv) < 0x40000000 ? 7 : UTF8_MAXBYTES )
-/* Input is a true Unicode (not-native) code point */
-#define OFFUNISKIP(uv) ( OFFUNI_IS_INVARIANT(uv) ? 1 : __BASE_UNI_SKIP(uv))
-
-#define UVCHR_SKIP(uv) ( UVCHR_IS_INVARIANT(uv) ? 1 : _BASE_UNI_SKIP(uv))
-
/* UTF-EBCDIC semantic macros - We used to transform back into I8 and then
* compare, but now only have to do a single lookup by using a bit in
* l1_char_class_tab.h.