We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b954d5f commit 2eb5714Copy full SHA for 2eb5714
src/parser/parser_lib.ts
@@ -68,6 +68,7 @@ export class Parser<T> {
68
}
69
generateParser(): (source: string) => ArrayResult<T> {
70
return (input) => {
71
+ source = input;
72
clearCache();
73
return this.rawParser({ source: input, position: 0 })
74
.map(({ value }) => value);
0 commit comments