mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Fix fallthrough within a nested block
This commit is contained in:
+1
-1
@@ -1119,7 +1119,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
|
|||||||
|
|
||||||
case_ast_node(bs, BlockStmt, node);
|
case_ast_node(bs, BlockStmt, node);
|
||||||
check_open_scope(c, node);
|
check_open_scope(c, node);
|
||||||
check_stmt_list(c, bs->stmts, mod_flags);
|
check_stmt_list(c, bs->stmts, flags);
|
||||||
check_close_scope(c);
|
check_close_scope(c);
|
||||||
case_end;
|
case_end;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user