diff options
| Commit | 9b0c6501113169cacc6a6c4ca996959e4586e304 (patch) | |
|---|---|---|
| Author | 2018-09-21 09:21:29 +0300 | |
| Committer | 2018-09-21 09:23:15 +0300 | |
| Files | de1cad98fbe893a46be20dcb67cef0ea072262c4 /JSImpl/src/main.cpp | |
| IPL-9b0c6501113169cacc6a6c4ca996959e4586e304.tar IPL-9b0c6501113169cacc6a6c4ca996959e4586e304.tar.gz IPL-9b0c6501113169cacc6a6c4ca996959e4586e304.zip | ||
| Parent | 7ee2c286210ed2ef684636ec031b722dc939c5ec (diff) | |
Implement TopStatement and Program rules.
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | JSImpl/src/main.cpp | 2 |
diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index d412050..e2fc448 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("function pesho() { var a = 0; return a; }")); expr->Print(std::cout); } |
