diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-23 20:46:00 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-24 09:25:21 -0800 |
commit | 6389c77752f6ccdaf7373d97ae65079e9f58d270 (patch) | |
tree | 8b659aea2835563efd8ead32bbcbfd185c99f318 /feature.h | |
parent | 6d5e92cd815e54c7272b7f63bc855bc25943ce9e (diff) | |
download | perl-6389c77752f6ccdaf7373d97ae65079e9f58d270.tar.gz |
use VERSION needs to enable uni8bit hint
Diffstat (limited to 'feature.h')
-rw-r--r-- | feature.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -107,6 +107,10 @@ S_enable_feature_bundle(pTHX_ SV *ver) ? FEATURE_BUNDLE_510 : FEATURE_BUNDLE_DEFAULT ) << HINT_FEATURE_SHIFT; + /* special case */ + assert(PL_curcop == &PL_compiling); + if (FEATURE_UNICODE_IS_ENABLED) PL_hints |= HINT_UNI_8_BIT; + else PL_hints &= ~HINT_UNI_8_BIT; } #endif /* PERL_IN_OP_C */ |