diff --git a/lib/parser/recursiveDescentBuffer.ts b/lib/parser/recursiveDescentBuffer.ts index 4d004ba..4625f89 100644 --- a/lib/parser/recursiveDescentBuffer.ts +++ b/lib/parser/recursiveDescentBuffer.ts @@ -19,11 +19,6 @@ export class RecursiveDescentBuffer { this.idx++ } - consumeN (n: number): void { - if (n <= 0) throw new ParseError('n must be positive') - this.idx += n - } - matchLP (): void { this.matchCh('(') }