summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-16 20:31:07 -0600
committerKarl Williamson <khw@cpan.org>2021-08-07 05:14:44 -0600
commit6f8b1f9311454d2c11cb8a196b1367e9b3933cee (patch)
treef44c0148da70b7bde53b53ff7361b98d82cef89a /utfebcdic.h
parentbdcc1e93b12b67f35d05618013410ca92713eaf3 (diff)
downloadperl-6f8b1f9311454d2c11cb8a196b1367e9b3933cee.tar.gz
utf8.h: Remove EBCDIC dependency
By generalizing a macro, we can make it serve both ASCII and EBCDIC
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 e3407e047b..eebbe26bd3 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -199,11 +199,6 @@ explicitly forbidden, and the shortest possible encoding should always be used
#define UTF_CONTINUATION_BYTE_INFO_BITS UTF_EBCDIC_CONTINUATION_BYTE_INFO_BITS
-/* These others are for efficiency or for other decisions we've made */
-
-#define isUTF8_POSSIBLY_PROBLEMATIC(c) \
- _generic_isCC(c, _CC_UTF8_START_BYTE_IS_FOR_AT_LEAST_SURROGATE)
-
/* ^? is defined to be APC on EBCDIC systems, as specified in Unicode Technical
* Report #16. See the definition of toCTRL() for more */
#define QUESTION_MARK_CTRL LATIN1_TO_NATIVE(0x9F)