diff options
author | Ben Morrow <ben@morrow.me.uk> | 2009-12-07 11:52:23 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-07-12 10:40:47 +0200 |
commit | 52db365a88f7ab3b9b091f983a05054164499982 (patch) | |
tree | b4c8cfb606ca59bff9d00fd9263e797771fb5e3e /pp_ctl.c | |
parent | 03569ecfc8c82939dcc47b586a8e22c613c158b2 (diff) | |
download | perl-52db365a88f7ab3b9b091f983a05054164499982.tar.gz |
Macroify the block_hooks structure.
Add a flags member, so it can be extended later if necessary. Add a
bhk_eval member, called from doeval to catch requires and string evals.
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3131,6 +3131,8 @@ S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq) else CLEAR_ERRSV(); + CALL_BLOCK_HOOKS(eval, saveop); + /* note that yyparse() may raise an exception, e.g. C<BEGIN{die}>, * so honour CATCH_GET and trap it here if necessary */ |