Asterisk imports parsing; Pussyfooting around stdlib

This commit is contained in:
dcodeIO
2017-12-23 00:48:54 +01:00
parent a0ec684e1c
commit ad298c7bea
15 changed files with 309 additions and 109 deletions

View File

@ -731,6 +731,17 @@ export class Tokenizer extends DiagnosticEmitter {
}
}
// skipUntil(token1: Token, token2: Token = -1): bool {
// let next: Token;
// do {
// if ((next = this.peek()) == Token.ENDOFFILE)
// return false;
// if (next == token1 || next == token2)
// return true;
// this.next();
// } while (true);
// }
mark(): void {
this.markedPos = this.pos;
this.markedToken = this.token;