Merge pull request #219 from COsorio11/patch-2

fix typo
This commit is contained in:
Seth Vargo 2017-10-17 19:19:22 +01:00 committed by GitHub
commit 6308fb6f2a

View File

@ -246,7 +246,7 @@ func (s *Scanner) scanNumber(ch rune) token.Type {
return token.NUMBER
}
// scanMantissa scans the mantissa begining from the rune. It returns the next
// scanMantissa scans the mantissa beginning from the rune. It returns the next
// non decimal rune. It's used to determine wheter it's a fraction or exponent.
func (s *Scanner) scanMantissa(ch rune) rune {
scanned := false