mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Fix missing yield inside std/json string decoder
This commit is contained in:
1 parent
af666564bb
commit
0711f23fed
3 files changed
+8
-2
No files matched your search
@@ -246,8 +246,8 @@ parsed_token parse_next_token() {
|
||||
// ----
|
||||
|
||||
const char* handle_string(parsed_token pt) {
|
||||
TRY(write_dst("\"", 1));
|
||||
while (true) {
|
||||
TRY(write_dst("\"", 1));
|
||||
TRY(write_dst(pt.data.ptr, pt.data.len));
|
||||
if ((pt.token.value_base_detail() & 1) == 0) {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user