mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Make endwhile mandatory for nameless loops
This commit is contained in:
1 parent
3c38f671fa
commit
58351d44da
15 files changed
+138
-136
No files matched your search
@@ -117,7 +117,7 @@ pub func decoder.transform_io?(dst: base.io_writer, src: base.io_reader, workbuf
|
||||
break
|
||||
}
|
||||
yield? status
|
||||
}
|
||||
} endwhile
|
||||
checksum_want = args.src.read_u32be?()
|
||||
if (not this.ignore_checksum) and (checksum_got <> checksum_want) {
|
||||
return "#bad checksum"
|
||||
|
||||
Reference in new issue
Block a user