From 6e756b22c41b2fd552c11e86345df9308e92ed2b Mon Sep 17 00:00:00 2001 From: grunfink Date: Tue, 24 Feb 2026 18:02:20 +0100 Subject: Fixed another new error in the JSON parser. --- xs_json.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xs_json.h') diff --git a/xs_json.h b/xs_json.h index e1c05f4..6f42eab 100644 --- a/xs_json.h +++ b/xs_json.h @@ -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++; } } -- cgit v1.2.3