diff options
-rw-r--r-- | cop.h | 1 | ||||
-rw-r--r-- | scope.c | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -474,6 +474,7 @@ struct block_loop { else \ cx->blk_loop.itersave = NULL; #endif +#define CxLABEL(c) (0 + (c)->blk_loop.label) #ifdef USE_ITHREADS # define PUSHLOOP_OP_NEXT /* No need to do anything. */ @@ -1085,8 +1085,7 @@ Perl_cx_dump(pTHX_ PERL_CONTEXT *cx) break; case CXt_LOOP: - PerlIO_printf(Perl_debug_log, "BLK_LOOP.LABEL = %s\n", - cx->blk_loop.label); + 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); PerlIO_printf(Perl_debug_log, "BLK_LOOP.MY_OP = 0x%"UVxf"\n", |