summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorVincent Pit <perl@profvince.com>2009-07-22 14:35:49 +0200
committerVincent Pit <perl@profvince.com>2009-07-22 14:36:48 +0200
commitbb5aedc13f30a9f0a65cc4c489b97a919d5d03a2 (patch)
tree256433192fb696204f9c17f73abf325eeab0f533 /pp_ctl.c
parent4fffee8e5bc0dd2368ad605f2046c6a9a2303392 (diff)
downloadperl-bb5aedc13f30a9f0a65cc4c489b97a919d5d03a2.tar.gz
Teach goto how to cross given/when blocks
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index ebfcf7473d..a8b8b6d916 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2624,6 +2624,8 @@ PP(pp_goto)
case CXt_LOOP_LAZYSV:
case CXt_LOOP_FOR:
case CXt_LOOP_PLAIN:
+ case CXt_GIVEN:
+ case CXt_WHEN:
gotoprobe = cx->blk_oldcop->op_sibling;
break;
case CXt_SUBST: