about summary refs log tree commit diff
path: root/pkg/lang/ast/stmt.go
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-05-09 00:01:02 +0200
committerMel <einebeere@gmail.com>2022-05-09 00:01:02 +0200
commitb09a14147d397904722ee7c25e4defc56135b96f (patch)
tree694dc725528310f3a65d04785b8eea33908ce69f /pkg/lang/ast/stmt.go
parentb5a9660b6ac42bce27c746e76013c3ce5992743a (diff)
downloadjinx-b09a14147d397904722ee7c25e4defc56135b96f.tar.zst
jinx-b09a14147d397904722ee7c25e4defc56135b96f.zip
Extract source walk part of scanner
Diffstat (limited to 'pkg/lang/ast/stmt.go')
-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 4f24cc5..e25dee9 100644
--- a/pkg/lang/ast/stmt.go
+++ b/pkg/lang/ast/stmt.go
@@ -1,6 +1,6 @@
 package ast
 
-import "jinx/pkg/lang/scanner/token"
+import "jinx/pkg/libs/source"
 
 type StmtKind int
 
@@ -22,7 +22,7 @@ const (
 type Stmt StmtT[any]
 
 type StmtT[T any] struct {
-	At    token.Loc
+	At    source.Loc
 	Kind  StmtKind
 	Value T
 }