Improved for loop

This commit is contained in:
2026-05-07 23:43:22 +02:00
parent c7ada72029
commit 8b409f4ccf
4 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ c_for_stmt = {
}
for_stmt = {
"for" ~ "(" ~ identifier ~ "in" ~ expr ~ ")" ~ statement
"for" ~ "(" ~ mutable? ~ pattern ~ "in" ~ expr ~ ")" ~ statement
}
match_item = { pattern ~ "=>" ~ block }