Add a yield keyword

This commit is contained in:
Nigel Tao committed 2017-12-01 15:24:48 +11:00
1 parent 93665d50fe
commit 65dcf6a5b9
19 files changed
+122 -89

No files matched your search

+1 -1
View File
@@ -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
}
}
}