diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-03-13 10:07:50 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-03-13 10:09:03 +0100 |
commit | 3a7a94e274d5af79b9dacbe2adc9c4cabcf24a08 (patch) | |
tree | c26569babb0a08cae19054b16003cd5ec3776f90 /op.c | |
parent | 34a81e2b89e80eb8560606e2b29037d4da625156 (diff) | |
download | perl-3a7a94e274d5af79b9dacbe2adc9c4cabcf24a08.tar.gz |
Make eval{} (entertry) trappable by Safe
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6540,6 +6540,8 @@ Perl_ck_eval(pTHX_ OP *o) /* establish postfix order */ enter->op_next = (OP*)enter; + CHECKOP(OP_ENTERTRY, enter); + o = prepend_elem(OP_LINESEQ, (OP*)enter, (OP*)kid); o->op_type = OP_LEAVETRY; o->op_ppaddr = PL_ppaddr[OP_LEAVETRY]; |