Fix expression link at ifStatement
This commit is contained in:
parent
80db5bc6c9
commit
e4f98c610a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user