Fix: statement

This commit is contained in:
2026-05-19 10:39:35 +02:00
parent 28a7658ce7
commit 0031fb7152
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5,6 +5,8 @@ pub mod logger;
pub mod event; pub mod event;
void main() { void main() {
Vec<String> args = env::args().collect();
var mut app_instance = new app::Application("mist-app"); var mut app_instance = new app::Application("mist-app");
// greeting::register(&mut app_instance); // greeting::register(&mut app_instance);
+1 -1
View File
@@ -319,7 +319,6 @@ block = {
statement = _{ statement = _{
match_stmt match_stmt
| assign_statement
| if_stmt | if_stmt
| while_stmt | while_stmt
| c_for_stmt | c_for_stmt
@@ -331,6 +330,7 @@ statement = _{
| increment_statement | increment_statement
| decrement_statement | decrement_statement
| var_decl_statement | var_decl_statement
| assign_statement
| expr_stmt | expr_stmt
} }