diff options
| author | gingerBill <bill@gingerbill.org> | 2017-12-17 21:55:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-12-17 21:55:20 +0000 |
| commit | b509946b13fb12284c03ddc5ee30fcd1cf064feb (patch) | |
| tree | 7459b2e112743d533b713cad06226710cd0ebaeb | |
| parent | a69ea58388d498a227094f2cb2f0083c620c9ac7 (diff) | |
Fix fallthrough within a nested block
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 2f82d98e8..6a5084d94 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1119,7 +1119,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) { case_ast_node(bs, BlockStmt, 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); case_end; |