Make endwhile mandatory for nameless loops

This commit is contained in:
Nigel Tao committed 2020-03-25 21:40:00 +11:00
1 parent 3c38f671fa
commit 58351d44da
15 files changed
+138 -136

No files matched your search

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