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.
2 parents 7563813 + 20bec01 commit ea55fabCopy full SHA for ea55fab
lib/binary_parser.ts
@@ -1115,7 +1115,7 @@ export class Parser {
1115
ctx.pushCode(`${item}.$parent = ${parentVar};`);
1116
ctx.pushCode(`${item}.$root = ${parentVar}.$root;`);
1117
if (!this.options.readUntil && lengthInBytes === undefined) {
1118
- ctx.pushCode(`${item}.$index = ${length} - ${counter},`);
+ ctx.pushCode(`${item}.$index = ${length} - ${counter};`);
1119
}
1120
type.generate(ctx);
1121
ctx.pushCode(`delete ${item}.$parent;`);
0 commit comments