From ed9a0c8f0f3c1eed3582d722935cd1df1d055afd Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 3 Jul 2022 18:11:55 +0200 Subject: Compile If Stmts --- pkg/lang/ast/stmt.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pkg/lang/ast/stmt.go') 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 { -- cgit 1.4.1