diff options
author | Karl Williamson <khw@cpan.org> | 2019-10-06 10:50:49 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-10-06 11:07:09 -0600 |
commit | 2c03e801f9133bacfe39d2a12decdd9d2b3b075a (patch) | |
tree | 10e0c37d317b734e27acf0b0125587d690b050d9 /utfebcdic.h | |
parent | ab2e28c2f2b8f2edf930448a1c0182a8bd4f469f (diff) | |
download | perl-2c03e801f9133bacfe39d2a12decdd9d2b3b075a.tar.gz |
Make defn of UTF_IS_CONTINUED common
This can be derived from other values, removing an EBCDIC dependency
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/utfebcdic.h b/utfebcdic.h index d52d54a43f..4a66637bbb 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -204,10 +204,6 @@ explicitly forbidden, and the shortest possible encoding should always be used /* Comments as to the meaning of each are given at their corresponding utf8.h * definitions. */ -/* Equivalent to ! UVCHR_IS_INVARIANT(c) */ -#define UTF8_IS_CONTINUED(c) cBOOL(FITS_IN_8_BITS(c) \ - && ! (PL_charclass[(U8) (c)] & (_CC_mask(_CC_ASCII) | _CC_mask(_CC_CNTRL)))) - #define isUTF8_POSSIBLY_PROBLEMATIC(c) \ _generic_isCC(c, _CC_UTF8_START_BYTE_IS_FOR_AT_LEAST_SURROGATE) |