X-Git-Url: http://perl5.git.perl.org/perl.git/blobdiff_plain/0e1b3a4b35c4f6798b244c5b82edcf759e9e6806..db4d68cf2dda3f17:/op.c diff --git a/op.c b/op.c index 1ad2074..7b129ac 100644 --- a/op.c +++ b/op.c @@ -9623,6 +9623,9 @@ Perl_rpeep(pTHX_ register OP *o) sop = fop->op_sibling; while (cLOGOP->op_other->op_type == OP_NULL) cLOGOP->op_other = cLOGOP->op_other->op_next; + while (o->op_next && ( o->op_type == o->op_next->op_type + || o->op_next->op_type == OP_NULL)) + o->op_next = o->op_next->op_next; DEFER(cLOGOP->op_other); stitch_keys: