summaryrefslogtreecommitdiff
path: root/utfebcdic.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-10-02 18:03:26 -0600
committerKarl Williamson <khw@cpan.org>2019-10-06 11:07:09 -0600
commit7c88d61e18cab1244ecd155556e1f0b3563a7e4a (patch)
tree2b1cde8c673ba4aecc210007eaed7192dc81c6ce /utfebcdic.h
parent1df634280fbf565fc9e9ada123c12a82404aa817 (diff)
downloadperl-7c88d61e18cab1244ecd155556e1f0b3563a7e4a.tar.gz
Make defn of UTF8_IS_DOWNGRADEABLE_START common
This can be derived from other values, removing an EBCDIC dependency
Diffstat (limited to 'utfebcdic.h')
-rw-r--r--utfebcdic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/utfebcdic.h b/utfebcdic.h
index 751fa0a9bd..d0cf139ff3 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -221,9 +221,6 @@ explicitly forbidden, and the shortest possible encoding should always be used
#define UTF8_IS_CONTINUED(c) cBOOL(FITS_IN_8_BITS(c) \
&& ! (PL_charclass[(U8) (c)] & (_CC_mask(_CC_ASCII) | _CC_mask(_CC_CNTRL))))
-#define UTF8_IS_DOWNGRADEABLE_START(c) _generic_isCC(c, \
- _CC_UTF8_IS_DOWNGRADEABLE_START)
-
#define isUTF8_POSSIBLY_PROBLEMATIC(c) \
_generic_isCC(c, _CC_UTF8_START_BYTE_IS_FOR_AT_LEAST_SURROGATE)