This commit is contained in:
gingerBill
2024-03-16 22:12:17 +00:00
parent 04f0fbf23a
commit 3875fb08e8
3 changed files with 10 additions and 0 deletions
+6
View File
@@ -221,6 +221,12 @@ gb_internal bool check_has_break(Ast *stmt, String const &label, bool implicit)
return true;
}
break;
case Ast_ExprStmt:
if (stmt->ExprStmt.expr->viral_state_flags & ViralStateFlag_ContainsOrBreak) {
return true;
}
break;
}
return false;