Fixed another new error in the JSON parser.

This commit is contained in:
grunfink
2026-02-24 18:02:20 +01:00
parent a3da6a3fa2
commit 6e756b22c4
+1 -2
View File
@@ -300,14 +300,13 @@ static xs_val *_xs_json_load_lexer(FILE *f, js_type *t)
else {
char cc = c;
v = xs_insert_m(v, offset, &cc, 1);
offset++;
}
if (!xs_is_string(v)) {
*t = JS_ERROR;
break;
}
offset++;
}
}