Files
json-c/tests
qeqx 7662139501 tokener: clear pending surrogate on reset
Discard the previous document's high surrogate when resetting the tokener.
Otherwise the next Unicode escape can add a replacement character or
combine with a surrogate from the abandoned document.

Extend the existing incremental parse tests for incomplete input and a
fatal error, using independent next-document string expectations.

Fixes #984.
Reported-by: GeekQAQ (GitHub)
Assisted-by: OpenAI Codex (AI)
Reviewed-by: GPT-6 Luna (AI)
2026-10-10 20:06:11 +09:00
..
2022-08-13 20:47:20 -07:00
2022-08-13 20:47:20 -07:00
2020-03-31 19:12:45 +08:00
2022-08-13 15:47:40 +03:00
2020-03-31 19:12:45 +08:00
2026-09-07 09:58:09 +08:00