This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix CxFOREACH
authorDavid Mitchell <davem@iabyn.com>
Mon, 21 Dec 2015 15:45:57 +0000 (15:45 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:18:36 +0000 (09:18 +0000)
commita7f94955ee46a703770bc2edd470ebd53a0a2f98
tree22cb272c7ee40b75ac117fb2581456a3f8220584
parent28e0cf42294edeeb3acfd68afd6695f1f8a09632
fix CxFOREACH

It wasn't detecting CXt_LOOP_LAZYIV as a 'for' loop type. This only
affected 'given' and 'break' (which need to distinguish between being
in a 'given' block and being in a 'for' block).
cop.h
t/op/switch.t