mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 10:56:30 +00:00
fix param index increment
This commit is contained in:
parent
f3da09d9c2
commit
01c80000ed
@ -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}'`);
|
||||
|
Loading…
Reference in New Issue
Block a user