mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Fix parsing error for for
This commit is contained in:
+1
-1
@@ -3975,7 +3975,7 @@ Ast *parse_for_stmt(AstFile *f) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_range && allow_token(f, Token_Semicolon)) {
|
if (!is_range && parse_control_statement_semicolon_separator(f)) {
|
||||||
init = cond;
|
init = cond;
|
||||||
cond = nullptr;
|
cond = nullptr;
|
||||||
if (f->curr_token.kind != Token_Semicolon) {
|
if (f->curr_token.kind != Token_Semicolon) {
|
||||||
|
|||||||
Reference in New Issue
Block a user