diff options
author | Karl Williamson <khw@cpan.org> | 2015-12-05 21:56:43 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-12-05 22:06:50 -0700 |
commit | fed423a56a927315e14182b1dac8f0bfad941b37 (patch) | |
tree | 81bc52779ffc951e5f04f7e63181370fb7b194bd /utfebcdic.h | |
parent | 7028aebabf3fb76f73327317cf199bc5cde380b1 (diff) | |
download | perl-fed423a56a927315e14182b1dac8f0bfad941b37.tar.gz |
utf8.h: Combine EBCDIC and ASCII macros
Previous commits have set things up so the macros are the same on both
platforms. By moving them to the common part of utf8.h, they can share
the same definition. The difference listing shows instead other things
being moved due to the size of this move in comparison with those things
that really stayed the same.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/utfebcdic.h b/utfebcdic.h index e30612297c..97c0c9d1c6 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -193,14 +193,6 @@ above what a 64 bit word can hold */ #define UVCHR_IS_INVARIANT(uv) cBOOL(FITS_IN_8_BITS(uv) \ && (PL_charclass[(U8) (uv)] & (_CC_mask(_CC_ASCII) | _CC_mask(_CC_CNTRL)))) -/* Internal macro to be used only in the definitions of the next two */ -#define __BASE_UNI_SKIP(uv) ((uv) < 0x400 ? 2 : \ - (uv) < 0x4000 ? 3 : \ - (uv) < 0x40000 ? 4 : \ - (uv) < 0x400000 ? 5 : \ - (uv) < 0x4000000 ? 6 : \ - (uv) < 0x40000000 ? 7 : UTF8_MAXBYTES ) - /* 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. |