diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-12 03:17:44 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-12 03:17:44 +0000 |
commit | 1c47067b71f412add997ac1b762af8af26c940f0 (patch) | |
tree | 37624cd33f73218246ee5381cce4863f70f583bd /toke.c | |
parent | ea9ac5adc156dc923a1815b0059ca759e5ced3f0 (diff) | |
download | perl-1c47067b71f412add997ac1b762af8af26c940f0.tar.gz |
EBCDIC: this change for \N{} in particular is now
unnecessary because of the recent more general
pack U change.
p4raw-id: //depot/perl@14652
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1557,7 +1557,14 @@ S_scan_const(pTHX_ char *start) if (has_utf8) sv_utf8_upgrade(res); str = SvPV(res,len); -#ifdef EBCDIC +#ifdef EBCDIC_NEVER_MIND + /* charnames uses pack U and that has been + * recently changed to do the below uni->native + * mapping, so this would be redundant (and wrong, + * the code point would be doubly converted). + * But leave this in just in case the pack U change + * gets revoked, but the semantics is still + * desireable for charnames. --jhi */ { UV uv = utf8_to_uvchr((U8*)str, 0); |