Fix: statement
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user