Fix missing yield inside std/json string decoder

This commit is contained in:
Nigel Tao committed 2020-02-17 13:17:06 +11:00
1 parent af666564bb
commit 0711f23fed
3 files changed
+8 -2

No files matched your search

+2
View File
@@ -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()