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

This commit is contained in:
hydai 2018-03-22 18:11:58 +08:00
parent 933972d139
commit cd2d4c9b7c

View file

@ -114,7 +114,7 @@ func (c *Compiler) Compile() (string, []error) {
} }
// next returns the next token and increments the // next returns the next token and increments the
// posititon. // position.
func (c *Compiler) next() token { func (c *Compiler) next() token {
token := c.tokens[c.pos] token := c.tokens[c.pos]
c.pos++ c.pos++