summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-08-05 11:30:11 +0100
committerFather Chrysostomos <sprout@cpan.org>2011-11-06 01:13:45 -0700
commit802a15e9c01d1a0b6bb74d5a6e5dcd9ee1a651a4 (patch)
tree811270446d0858e48ee5107d98ef0e9e680fe547 /op.c
parentcda6b701e74e196d7908411ab7c4da684203869d (diff)
downloadperl-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/op.c b/op.c
index ba243653b4..d5f1dd91a0 100644
--- a/op.c
+++ b/op.c
@@ -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;
}