aboutsummaryrefslogtreecommitdiff
path: root/pkg/lang/ast
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/ast')
-rw-r--r--pkg/lang/ast/stmt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/lang/ast/stmt.go b/pkg/lang/ast/stmt.go
index 65b2532..8a538f2 100644
--- a/pkg/lang/ast/stmt.go
+++ b/pkg/lang/ast/stmt.go
@@ -8,7 +8,7 @@ const (
StmtKindEmpty StmtKind = iota
StmtKindUse
StmtKindFnDecl
- StmtKindObjectDecl
+ StmtKindTypeDecl
StmtKindVarDecl
StmtKindIf
StmtKindForCond
@@ -41,7 +41,7 @@ type StmtFnDecl struct {
Body BlockNode
}
-type StmtObjectDecl struct{}
+type StmtTypeDecl struct {}
type StmtVarDecl struct {
Name IdentNode