mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Rename "yield foo" to "yield? foo"
This commit is contained in:
1 parent
045f180a6c
commit
931fdce475
8 files changed
+21
-13
No files matched your search
@@ -114,7 +114,7 @@ pub func decoder.decode_io_writer?(dst base.io_writer, src base.io_reader, workb
|
||||
} else if this.read_from_return_value == 1 {
|
||||
continue
|
||||
} else if this.read_from_return_value == 2 {
|
||||
yield base."$short read"
|
||||
yield? base."$short read"
|
||||
} else if this.read_from_return_value == 3 {
|
||||
return "#bad code"
|
||||
} else {
|
||||
@@ -346,7 +346,7 @@ pri func decoder.write_to?(dst base.io_writer) {
|
||||
return ok
|
||||
}
|
||||
this.output_ri = (this.output_ri ~mod+ ((n & 0xFFFFFFFF) as base.u32)) & 8191
|
||||
yield base."$short write"
|
||||
yield? base."$short write"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user