mol_plot_all 1.2.550 → 1.2.551

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
@@ -1740,7 +1740,7 @@ var $;
1740
1740
  let line_end = str.indexOf('\n', pos);
1741
1741
  if (line_end === -1)
1742
1742
  line_end = str.length;
1743
- const sp = span.span(row, error_start - line_start, pos - error_start + 1);
1743
+ const sp = span.span(row, error_start - line_start + 1, pos - error_start);
1744
1744
  this.$mol_fail(new this.$mol_error_syntax(`Wrong nodes separator`, str.substring(line_start, line_end), sp));
1745
1745
  }
1746
1746
  var type_start = pos;