var i = this.cursor;
while (true) {
- if (i < 0) return false;
+ if (i < 0) {
+ if (n > -1) {
+ i = 0; continue;
+ }
+ }
else if (i > this.tokens.length) return false;
if (i != this.cursor && (this.tokens[i] === undefined || this.tokens[i].is("WHIT") || this.tokens[i].is("COMM"))) {