about summary refs log tree commit diff
path: root/pkg/lang/ast/expr.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/lang/ast/expr.go')
-rw-r--r--pkg/lang/ast/expr.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/lang/ast/expr.go b/pkg/lang/ast/expr.go
index ab6578a..f98f9b3 100644
--- a/pkg/lang/ast/expr.go
+++ b/pkg/lang/ast/expr.go
@@ -1,6 +1,6 @@
 package ast
 
-import "jinx/pkg/lang/scanner/token"
+import "jinx/pkg/libs/source"
 
 type ExprKind int
 
@@ -25,7 +25,7 @@ const (
 type Expr ExprT[any]
 
 type ExprT[T any] struct {
-	At    token.Loc
+	At    source.Loc
 	Kind  ExprKind
 	Value T
 }