mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 10:36:31 +00:00
fix param index increment
This commit is contained in:
parent
f3da09d9c2
commit
01c80000ed
@ -365,6 +365,7 @@ export class Parser {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
elems.push(elemRes.value);
|
elems.push(elemRes.value);
|
||||||
|
i += 1;
|
||||||
while (this.test(delimiter)) {
|
while (this.test(delimiter)) {
|
||||||
this.step();
|
this.step();
|
||||||
if (this.test(endToken)) {
|
if (this.test(endToken)) {
|
||||||
@ -375,6 +376,7 @@ export class Parser {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
elems.push(elemRes.value);
|
elems.push(elemRes.value);
|
||||||
|
i += 1;
|
||||||
}
|
}
|
||||||
if (!this.test(endToken)) {
|
if (!this.test(endToken)) {
|
||||||
this.report(`expected '${endToken}'`);
|
this.report(`expected '${endToken}'`);
|
||||||
|
Loading…
Reference in New Issue
Block a user