mol_jsx_lib 0.0.399 → 0.0.401

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.
package/node.js CHANGED
@@ -599,7 +599,7 @@ var $;
599
599
  let line_end = str.indexOf('\n', pos);
600
600
  if (line_end === -1)
601
601
  line_end = str.length;
602
- const sp = span.span(row, error_start - line_start, pos - error_start + 1);
602
+ const sp = span.span(row, error_start - line_start + 1, pos - error_start);
603
603
  this.$mol_fail(new this.$mol_error_syntax(`Wrong nodes separator`, str.substring(line_start, line_end), sp));
604
604
  }
605
605
  var type_start = pos;