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 +1 -1
- package/node.js.map +1 -1
- package/node.mjs +1 -1
- package/node.mjs.map +1 -1
- package/node.test.js +10 -4
- package/node.test.js.map +1 -1
- package/package.json +1 -1
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
|
|
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;
|