mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16: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
@@ -165,6 +165,8 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader) {
|
||||
args.dst.write_fast_token!(value: 0x60_0001, length: string_length as base.u64)
|
||||
string_length = 0
|
||||
}
|
||||
yield? base."$short read"
|
||||
string_length = 0
|
||||
continue.string_loop
|
||||
}
|
||||
c = args.src.peek_u8()
|
||||
|
||||
Reference in new issue
Block a user