diff --git a/lib/lexer.js b/lib/lexer.js index 54052e54..f0427d82 100644 --- a/lib/lexer.js +++ b/lib/lexer.js @@ -19,7 +19,7 @@ this.seenFor = false; this.indents = []; this.tokens = []; - while ((this.chunk = code.slice(this.i))) { + while (this.chunk = code.slice(this.i)) { this.identifierToken() || this.commentToken() || this.whitespaceToken() || this.lineToken() || this.heredocToken() || this.stringToken() || this.numberToken() || this.regexToken() || this.jsToken() || this.literalToken(); } this.closeIndentation();