summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-20 20:40:38 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-20 20:40:38 +0000
commita61a7064557baa67e0ffb901e9b818027edd3eb7 (patch)
treed9212ebcbfb021c5f6bbe2a9fbf0e0f8e8b97d3e /pp_ctl.c
parentf9c764c5b8dcfa74adde8337ee9a5db227b55f56 (diff)
downloadperl-a61a7064557baa67e0ffb901e9b818027edd3eb7.tar.gz
Eliminate label from struct block_loop, as it can be accessed via
oldcop. p4raw-id: //depot/perl@33015
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index c596fdba15..d1b087746a 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1257,9 +1257,9 @@ S_dopoptolabel(pTHX_ const char *label)
return -1;
break;
case CXt_LOOP:
- if ( !cx->blk_loop.label || strNE(label, cx->blk_loop.label) ) {
+ if ( !CxLABEL(cx) || strNE(label, CxLABEL(cx)) ) {
DEBUG_l(Perl_deb(aTHX_ "(Skipping label #%ld %s)\n",
- (long)i, cx->blk_loop.label));
+ (long)i, CxLABEL(cx)));
continue;
}
DEBUG_l( Perl_deb(aTHX_ "(Found label #%ld %s)\n", (long)i, label));