mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
parse.y (call_with_block): a->cdr may be NULL.
This commit is contained in:
@@ -1286,6 +1286,7 @@ call_with_block(parser_state *p, node *a, node *b)
|
||||
case NODE_RETURN:
|
||||
case NODE_BREAK:
|
||||
case NODE_NEXT:
|
||||
if (a->cdr == NULL) return;
|
||||
call_with_block(p, a->cdr, b);
|
||||
break;
|
||||
default:
|
||||
|
||||
+1012
-1011
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user