parse.y: fix return/break/next with method call with args and block

This commit is contained in:
fn ⌃ ⌥
2022-10-21 14:35:37 -07:00
parent 2d57967afa
commit fee8f540c6
2 changed files with 1039 additions and 1029 deletions
+5
View File
@@ -1283,6 +1283,11 @@ call_with_block(parser_state *p, node *a, node *b)
if (!n->car) n->car = new_callargs(p, 0, 0, b);
else args_with_block(p, n->car, b);
break;
case NODE_RETURN:
case NODE_BREAK:
case NODE_NEXT:
call_with_block(p, a->cdr, b);
break;
default:
break;
}
File diff suppressed because it is too large Load Diff