diff options
author | thomasmodeneis <thomas.modeneis@gmail.com> | 2018-04-18 06:53:50 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-18 06:53:50 +0800 |
commit | ba1030b6b84f810c04a82221a1b1c0a3dbf499a8 (patch) | |
tree | 9c3450535acddfec3b1987e0a2e04fa9ca303e38 /core/asm | |
parent | 7605e63cb9dda7fc5bb619abf1eb1f74ac3f6cc1 (diff) | |
download | dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.gz dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.bz2 dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.lz dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.xz dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.tar.zst dexon-ba1030b6b84f810c04a82221a1b1c0a3dbf499a8.zip |
build: enable goimports and varcheck linters (#16446)
Diffstat (limited to 'core/asm')
-rw-r--r-- | core/asm/compiler.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go index 18dc0877f..3059b0a21 100644 --- a/core/asm/compiler.go +++ b/core/asm/compiler.go @@ -17,7 +17,6 @@ package asm import ( - "errors" "fmt" "math/big" "os" @@ -264,11 +263,6 @@ func (err compileError) Error() string { return fmt.Sprintf("%d syntax error: unexpected %v, expected %v", err.lineno, err.got, err.want) } -var ( - errExpBol = errors.New("expected beginning of line") - errExpElementOrLabel = errors.New("expected beginning of line") -) - func compileErr(c token, got, want string) error { return compileError{ got: got, |