diff options
| author | grunfink <grunfink@comam.es> | 2026-02-24 18:02:20 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-02-24 18:02:20 +0100 |
| commit | 6e756b22c41b2fd552c11e86345df9308e92ed2b (patch) | |
| tree | bdbec6cd8e1ccc01601ec9e989174d0a867d473a | |
| parent | a3da6a3fa2c27051c91bde9b5b57e5233fb87fc2 (diff) | |
Fixed another new error in the JSON parser.
| -rw-r--r-- | xs_json.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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++; } } |