mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
@@ -2801,7 +2801,8 @@ loop_break(codegen_scope *s, node *tree)
|
||||
loop = loop->prev;
|
||||
}
|
||||
if (!loop) {
|
||||
codegen_error(s, "unexpected break");
|
||||
raise_error(s, "unexpected break");
|
||||
return;
|
||||
}
|
||||
|
||||
if (loop->type == LOOP_NORMAL) {
|
||||
|
||||
Reference in New Issue
Block a user