@willbooster/web-tree-sitter 1.0.29 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1293,7 +1293,6 @@ function marshalRange(address, range) {
1293
1293
  C.setValue(address, range.startIndex, "i32");
1294
1294
  address += SIZE_OF_INT;
1295
1295
  C.setValue(address, range.endIndex, "i32");
1296
- address += SIZE_OF_INT;
1297
1296
  }
1298
1297
  __name(marshalRange, "marshalRange");
1299
1298
  function unmarshalRange(address) {
@@ -1320,13 +1319,12 @@ function marshalEdit(edit, address = TRANSFER_BUFFER) {
1320
1319
  C.setValue(address, edit.oldEndIndex, "i32");
1321
1320
  address += SIZE_OF_INT;
1322
1321
  C.setValue(address, edit.newEndIndex, "i32");
1323
- address += SIZE_OF_INT;
1324
1322
  }
1325
1323
  __name(marshalEdit, "marshalEdit");
1326
1324
  function unmarshalLanguageMetadata(address) {
1327
1325
  const major_version = C.getValue(address, "i32");
1328
1326
  const minor_version = C.getValue(address += SIZE_OF_INT, "i32");
1329
- const patch_version = C.getValue(address += SIZE_OF_INT, "i32");
1327
+ const patch_version = C.getValue(address + SIZE_OF_INT, "i32");
1330
1328
  return { major_version, minor_version, patch_version };
1331
1329
  }
1332
1330
  __name(unmarshalLanguageMetadata, "unmarshalLanguageMetadata");