rebuilding lexer
This commit is contained in:
parent
9c55bd59a1
commit
bfed78a996
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue