Merge pull request #218 from COsorio11/patch-1

Fix type
This commit is contained in:
Seth Vargo 2017-10-17 19:19:29 +01:00 committed by GitHub
commit 23c074d0ec

View File

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