summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-10-02 16:48:38 -0600
committerKarl Williamson <khw@cpan.org>2019-10-06 11:07:08 -0600
commit9f3cfb7a26dab519dbc83ef02bd3fbf084cb6fc3 (patch)
treeacab4ba7f7521af8c219e350420f412ff0763c4c /utfebcdic.h
parentd7bcd45a8b00fa6be02a62e097629473b2a9becc (diff)
downloadperl-9f3cfb7a26dab519dbc83ef02bd3fbf084cb6fc3.tar.gz
Make defn of UTF_IS_CONTINUATION_MASK common
This variable can be defined from the same base in both UTF-8 and UTF-EBCDIC, and doing so eliminates an EBCDIC dependency.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index d8278a1e72..f13f555f49 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -220,8 +220,6 @@ explicitly forbidden, and the shortest possible encoding should always be used
#define UTF8_IS_START(c) _generic_isCC(c, _CC_UTF8_IS_START)
-#define UTF_IS_CONTINUATION_MASK 0xE0
-
#define UTF8_IS_CONTINUATION(c) _generic_isCC(c, _CC_UTF8_IS_CONTINUATION)
/* The above instead could be written as this: