about summary refs log tree commit diff
path: root/pkg/lang/ast/nodes.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/ast/nodes.go')
-rw-r--r--pkg/lang/ast/nodes.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/lang/ast/nodes.go b/pkg/lang/ast/nodes.go
index 55dbb5b..117d8bf 100644
--- a/pkg/lang/ast/nodes.go
+++ b/pkg/lang/ast/nodes.go
@@ -1,19 +1,19 @@
 package ast
 
-import "jinx/pkg/lang/scanner/token"
+import "jinx/pkg/libs/source"
 
 type IdentNode struct {
-	At    token.Loc
+	At    source.Loc
 	Value string
 }
 
 type BlockNode struct {
-	At    token.Loc
+	At    source.Loc
 	Stmts []Stmt
 }
 
 type CondNode struct {
-	At   token.Loc
+	At   source.Loc
 	Cond Expr
 	Then BlockNode
 }