aboutsummaryrefslogtreecommitdiffstats
path: root/core/asm/compiler.go
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 /core/asm/compiler.go
parent84c5db5409cebf97276ab90db38ed73c21cf82ef (diff)
downloaddexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.gz
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.bz2
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.lz
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.xz
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.tar.zst
dexon-7c131f4d6d936e3102b3908b6797ca3521addf36.zip
core/asm: fixed typo (posititon -> position) (#16366)
Diffstat (limited to 'core/asm/compiler.go')
-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++