about summary refs log tree commit diff
path: root/pkg/lang/ast/stmt.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/ast/stmt.go')
-rw-r--r--pkg/lang/ast/stmt.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/lang/ast/stmt.go b/pkg/lang/ast/stmt.go
index e25dee9..6395f57 100644
--- a/pkg/lang/ast/stmt.go
+++ b/pkg/lang/ast/stmt.go
@@ -47,10 +47,7 @@ type StmtVarDecl struct {
 }
 
 type StmtIf struct {
-	Cond  Expr
-	Then  BlockNode
-	Elifs []CondNode
-	Else  BlockNode
+	Conds  []CondNode
 }
 
 type StmtTry struct {