diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-24 12:50:32 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-24 12:50:32 +0000 |
commit | c6fdafd0fef3b735d3a7b9441840698d27fe4e6b (patch) | |
tree | 908c7569373a36970a0c8fe3311798a60b514fe4 /sv.c | |
parent | 8b73ab1881b775e12ace39efe757716ab526e9db (diff) | |
download | perl-c6fdafd0fef3b735d3a7b9441840698d27fe4e6b.tar.gz |
Change the context type of for ($a .. $b) to CXt_LOOP_LAZYIV, and
assert that it isn't using cx->blk_loop.iterlval.
Fix a casting bug when assigning a sentinal to cx->blk_loop.iterary.
p4raw-id: //depot/perl@33061
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10542,6 +10542,7 @@ Perl_cx_dup(pTHX_ PERL_CONTEXT *cxs, I32 ix, I32 max, CLONE_PARAMS* param) param); ncx->blk_eval.cur_text = sv_dup(ncx->blk_eval.cur_text, param); break; + case CXt_LOOP_LAZYIV: case CXt_LOOP_FOR: ncx->blk_loop.iterary = av_dup_inc(ncx->blk_loop.iterary, param); |