@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.
@@ -1325,7 +1325,6 @@ function marshalRange(address, range) {
1325
1325
  C.setValue(address, range.startIndex, "i32");
1326
1326
  address += SIZE_OF_INT;
1327
1327
  C.setValue(address, range.endIndex, "i32");
1328
- address += SIZE_OF_INT;
1329
1328
  }
1330
1329
  __name(marshalRange, "marshalRange");
1331
1330
  function unmarshalRange(address) {
@@ -1352,13 +1351,12 @@ function marshalEdit(edit, address = TRANSFER_BUFFER) {
1352
1351
  C.setValue(address, edit.oldEndIndex, "i32");
1353
1352
  address += SIZE_OF_INT;
1354
1353
  C.setValue(address, edit.newEndIndex, "i32");
1355
- address += SIZE_OF_INT;
1356
1354
  }
1357
1355
  __name(marshalEdit, "marshalEdit");
1358
1356
  function unmarshalLanguageMetadata(address) {
1359
1357
  const major_version = C.getValue(address, "i32");
1360
1358
  const minor_version = C.getValue(address += SIZE_OF_INT, "i32");
1361
- const patch_version = C.getValue(address += SIZE_OF_INT, "i32");
1359
+ const patch_version = C.getValue(address + SIZE_OF_INT, "i32");
1362
1360
  return { major_version, minor_version, patch_version };
1363
1361
  }
1364
1362
  __name(unmarshalLanguageMetadata, "unmarshalLanguageMetadata");