From b09a14147d397904722ee7c25e4defc56135b96f Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 9 May 2022 00:01:02 +0200 Subject: Extract source walk part of scanner --- pkg/lang/ast/stmt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/lang/ast/stmt.go') 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 } -- cgit 1.4.1