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/scanner/token/loc.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 pkg/lang/scanner/token/loc.go (limited to 'pkg/lang/scanner/token/loc.go') diff --git a/pkg/lang/scanner/token/loc.go b/pkg/lang/scanner/token/loc.go deleted file mode 100644 index 7936cba..0000000 --- a/pkg/lang/scanner/token/loc.go +++ /dev/null @@ -1,10 +0,0 @@ -package token - -type Loc struct { - Row int - Col int -} - -func NewLoc(row, col int) Loc { - return Loc{row, col} -} -- cgit 1.4.1