Fixed semicolon
This commit is contained in:
@@ -16,7 +16,7 @@ export = { "public" }
|
|||||||
mutable = { "mut" }
|
mutable = { "mut" }
|
||||||
sharp = _{ "#" }
|
sharp = _{ "#" }
|
||||||
var_decl = { type_expr ~ mutable? ~ identifier }
|
var_decl = { type_expr ~ mutable? ~ identifier }
|
||||||
semicolon = { ";" }
|
semicolon = _{ ";" }
|
||||||
|
|
||||||
// ================= TOP LEVEL =================
|
// ================= TOP LEVEL =================
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ while_stmt = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
c_for_stmt = {
|
c_for_stmt = {
|
||||||
"for" ~ "(" ~ statement ~ expr ~ ";" ~ statement ~ ")" ~ statement
|
"for" ~ "(" ~ statement ~ expr ~ semicolon ~ statement ~ ")" ~ statement
|
||||||
}
|
}
|
||||||
|
|
||||||
// ================= EXPRESSIONS =================
|
// ================= EXPRESSIONS =================
|
||||||
|
|||||||
Reference in New Issue
Block a user