Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nulluser committed Jun 2, 2024
1 parent 73df178 commit 6f353bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub enum Stmt {
DeclareStmt(String, bool, Option<Expr>), // Name, is_mutable, expr
ReturnStmt(Option<Expr>),
FunctionDeclaration(Vec<String>, String, Vec<Stmt>, bool), // Parameters, Name, Body, Is async?
IfStmt(Expr, Vec<Stmt>, Vec<Stmt>),
IfStmt(Expr, Vec<Stmt>, Option<Vec<Stmt>>), // Condition, Then, Else
}

#[derive(Debug, PartialEq, Clone)]
Expand Down

0 comments on commit 6f353bb

Please sign in to comment.