From e4f98c610ab4bf85c58c4a2fa61ce950602450da Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 7 Dec 2015 17:50:16 +0200 Subject: [PATCH] Fix expression link at ifStatement --- public_html/js/Parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Parser.js b/public_html/js/Parser.js index edd8c0b..d079cb3 100644 --- a/public_html/js/Parser.js +++ b/public_html/js/Parser.js @@ -330,7 +330,7 @@ Parser.prototype.jump = function() { }; Parser.prototype.ifStatement = function() { - var condition = expression(); + var condition = this.expression(); this.consume(TokenType.COLON); if (!this.hasEndIf) return false;