Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / src / Lexer.h
diff options
context:
space:
mode:
Commit206b1bd6abb5841c5db65270d9ced2f3442ce19b (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-06 12:03:42 +0300
Committer
 Martin Dobrev <martindobrev0@gmail.com>
2018-10-06 14:23:46 +0300
Files59c39e65c917ddc758bfc49260186216650d9007 /JSImpl/src/Lexer.h
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.tar
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.tar.gz
IPL-206b1bd6abb5841c5db65270d9ced2f3442ce19b.zip
Parentf016e92dfd9e340529fac9c7673b333077e8072b (diff)
Started Linux port for JSImpl
- Added genie build script - fixed build with g++
1 files changed, 1 insertions, 1 deletions
-rw-r--r--JSImpl/src/Lexer.h2
diff --git a/JSImpl/src/Lexer.h b/JSImpl/src/Lexer.h
index fd3d244..db07f7d 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;
+ double Number = 0.0;
};
IPLVector<Token> Tokenize(const char* code, const std::function<void()>& onError = {});