p4raw-id: //depot/perl@23114
if (!enter)
break;
}
- /* for $a (...) will have OP_GV then OP_RV2GV here. */
+ /* for $a (...) will have OP_GV then OP_RV2GV here.
+ for (...) just has an OP_GV. */
if (enter->op_type == OP_GV) {
gvop = (OP *) enter;
enter = (LISTOP *) enter->op_next;
if (!enter)
break;
- if (enter->op_type != OP_RV2GV)
- break;
- enter = (LISTOP *) enter->op_next;
- if (!enter)
+ if (enter->op_type == OP_RV2GV) {
+ enter = (LISTOP *) enter->op_next;
+ if (!enter)
break;
+ }
}
if (enter->op_type != OP_ENTERITER)