diff options
| Commit | 81297e1f7cae13d9620df902ac968046bc646b3a (patch) | |
|---|---|---|
| Author | 2018-10-14 12:58:09 +0300 | |
| Committer | 2018-10-14 12:58:09 +0300 | |
| Files | 8667315b8a2b7b25a27edab46be9d903c74f086f /JSImpl/src/Lexer.h | |
| IPL-81297e1f7cae13d9620df902ac968046bc646b3a.tar IPL-81297e1f7cae13d9620df902ac968046bc646b3a.tar.gz IPL-81297e1f7cae13d9620df902ac968046bc646b3a.zip | ||
| Parent | 4e00cd48d86cc10e5b9b8ef413d81c4b94399cfb (diff) | |
Fix parsing of number which start with '9'
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | JSImpl/src/Lexer.h | 2 |
diff --git a/JSImpl/src/Lexer.h b/JSImpl/src/Lexer.h index db07f7d..fd3d244 100644 --- a/JSImpl/src/Lexer.h +++ b/JSImpl/src/Lexer.h @@ -107,7 +107,7 @@ struct Token TokenType Type; unsigned Line; IPLString Lexeme; - double Number = 0.0; + double Number; }; IPLVector<Token> Tokenize(const char* code, const std::function<void()>& onError = {}); |
