summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-24 09:36:05 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-24 09:36:05 +0000
commit3b719c58b6800b0db9786a0d03d9b07e39a8b70f (patch)
tree9b6687e504cbc034f0940871a229a1cafb94e826 /scope.c
parent9f99c5dc9c8b58db8724fb606806e353cbf69d45 (diff)
downloadperl-3b719c58b6800b0db9786a0d03d9b07e39a8b70f.tar.gz
Split CXt_LOOP into CXt_LOOP_PLAIN and CXt_LOOP_FOR, eliminating the
CXp_FOREACH flag added as part of given/when. p4raw-id: //depot/perl@33057
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 9cbd13ce24..74a3be0d97 100644
--- a/scope.c
+++ b/scope.c
@@ -1083,7 +1083,8 @@ Perl_cx_dump(pTHX_ PERL_CONTEXT *cx)
PTR2UV(cx->blk_eval.retop));
break;
- case CXt_LOOP:
+ case CXt_LOOP_FOR:
+ case CXt_LOOP_PLAIN:
PerlIO_printf(Perl_debug_log, "BLK_LOOP.LABEL = %s\n", CxLABEL(cx));
PerlIO_printf(Perl_debug_log, "BLK_LOOP.RESETSP = %ld\n",
(long)cx->blk_loop.resetsp);