aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhydai <z54981220@gmail.com>2018-03-26 18:48:39 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-03-26 18:48:39 +0800
commit7c131f4d6d936e3102b3908b6797ca3521addf36 (patch)
treed8c5db7a438b09afa378acb08d1d98ad7d091f46
parent84c5db5409cebf97276ab90db38ed73c21cf82ef (diff)
downloadgo-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.gz
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.bz2
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.lz
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.xz
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.zst
go-tangerine-7c131f4d6d936e3102b3908b6797ca3521addf36.zip
core/asm: fixed typo (posititon -> position) (#16366)
-rw-r--r--core/asm/compiler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go
index 1b9025a54..18dc0877f 100644
--- a/core/asm/compiler.go
+++ b/core/asm/compiler.go
@@ -114,7 +114,7 @@ func (c *Compiler) Compile() (string, []error) {
}
// next returns the next token and increments the
-// posititon.
+// position.
func (c *Compiler) next() token {
token := c.tokens[c.pos]
c.pos++