fix param index increment

This commit is contained in:
sfja 2025-01-02 15:57:04 +01:00
parent f3da09d9c2
commit 01c80000ed

View File

@ -365,6 +365,7 @@ export class Parser {
return [];
}
elems.push(elemRes.value);
i += 1;
while (this.test(delimiter)) {
this.step();
if (this.test(endToken)) {
@ -375,6 +376,7 @@ export class Parser {
return [];
}
elems.push(elemRes.value);
i += 1;
}
if (!this.test(endToken)) {
this.report(`expected '${endToken}'`);