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;