diff options
author | Brian Fraser <fraserbn@gmail.com> | 2011-08-05 11:30:11 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-11-06 01:13:45 -0700 |
commit | 802a15e9c01d1a0b6bb74d5a6e5dcd9ee1a651a4 (patch) | |
tree | 811270446d0858e48ee5107d98ef0e9e680fe547 /op.c | |
parent | cda6b701e74e196d7908411ab7c4da684203869d (diff) | |
download | perl-802a15e9c01d1a0b6bb74d5a6e5dcd9ee1a651a4.tar.gz |
eval STRING UTF8 cleanup.
(modified by the committer only to apply when the unicode_eval
feature is enabled)
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7484,6 +7484,8 @@ Perl_ck_eval(pTHX_ OP *o) MUTABLE_SV(hv_copy_hints_hv(GvHV(PL_hintgv)))); cUNOPo->op_first->op_sibling = hhop; o->op_private |= OPpEVAL_HAS_HH; + if (FEATURE_IS_ENABLED("unieval")) + o->op_private |= OPpEVAL_UNICODE; } return o; } |