From f8ccf5eedb60435b7fac66521554beab582c0b00 Mon Sep 17 00:00:00 2001 From: alexvitkov <44268717+alexvitkov@users.noreply.github.com> Date: Sat, 24 Oct 2020 17:58:54 +0300 Subject: JSImpl: Implemented ASTInterpreter::Visit for unary + and - (#87) * JSImpl: Implemented ASTInterpreter::Visit for unary + and - * JSImpl: Added tests for unary + and - * JSImpl: fixed appveyor ubuntu build Co-authored-by: Martin Dobrev --- JSImpl/src/Lexer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'JSImpl/src/Lexer.cpp') diff --git a/JSImpl/src/Lexer.cpp b/JSImpl/src/Lexer.cpp index 0f6f4a6..4a2deb8 100644 --- a/JSImpl/src/Lexer.cpp +++ b/JSImpl/src/Lexer.cpp @@ -179,8 +179,7 @@ Tokenizer::Tokenizer(const char* code, const LexerSettings& settings) LexerResult Tokenizer::Tokenize() { - LexerResult result; - result.IsSuccessful = true; + LexerResult result{ true, IPLError(), IPLVector() }; Token token; do { -- cgit v1.3.1-23-gd82d