From 7128a5853db709548f3ec9fe63973cbf7ccc5c54 Mon Sep 17 00:00:00 2001 From: martin dobrev Date: Fri, 7 Sep 2018 19:19:56 +0300 Subject: Enhance unary and literal expresion print functionlity. --- JSImpl/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'JSImpl/src/main.cpp') diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index 43c063d..d412050 100644 --- a/JSImpl/src/main.cpp +++ b/JSImpl/src/main.cpp @@ -77,7 +77,7 @@ void TestVariableDeclaration() void TestParseUnaryExpr() { // TODO make actual test :D - auto expr = Parse(Tokenize("-10")); + auto expr = Parse(Tokenize("--10")); expr->Print(std::cout); } -- cgit v1.3.1-23-gd82d