core/asm: fixed typo (posititon -> position) (#16366)

This commit is contained in:
hydai 2018-03-26 18:48:39 +08:00 committed by Péter Szilágyi
parent 84c5db5409
commit 7c131f4d6d

View File

@ -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++