mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Add a yield keyword
This commit is contained in:
1 parent
93665d50fe
commit
65dcf6a5b9
19 files changed
+122
-89
No files matched your search
@@ -182,7 +182,7 @@ pri func decoder.decode_id?(dst writer1, src reader1)() {
|
||||
if (block_size == 0) and (z == suspension "short read") {
|
||||
break
|
||||
}
|
||||
return z
|
||||
yield z
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user