From bfed78a99679363f2eea95c56bce8e0546f02184 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 11 Oct 2010 08:06:27 -0400 Subject: [PATCH] rebuilding lexer --- lib/lexer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();