Added new test for string and rune literals (which it passes)
This commit is contained in:
@@ -100,7 +100,9 @@ func (lexer *LexingOperation) tokenizeNumber (
|
||||
err = lexer.nextRune()
|
||||
if err != nil { return }
|
||||
}
|
||||
|
||||
|
||||
// TODO: increase accuracy of this so that TestTokenizeNumbers is
|
||||
// passed.
|
||||
if lexer.char == '.' {
|
||||
isFloat = true
|
||||
err = lexer.nextRune()
|
||||
|
||||
Reference in New Issue
Block a user