mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
if expression
This commit is contained in:
+1
-1
@@ -504,7 +504,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
|
||||
|
||||
check_stmt(c, is->body, mod_flags);
|
||||
|
||||
if (is->else_stmt) {
|
||||
if (is->else_stmt != NULL) {
|
||||
switch (is->else_stmt->kind) {
|
||||
case AstNode_IfStmt:
|
||||
case AstNode_BlockStmt:
|
||||
|
||||
Reference in New Issue
Block a user