Added new test for string and rune literals (which it passes)

This commit is contained in:
2022-08-11 12:12:41 -05:00
parent 4f37715a8c
commit f7a823687e
3 changed files with 23 additions and 1 deletions

View File

@@ -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()