mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 08:38:14 +01:00
Generate C break's and continue's.
This commit is contained in:
1 parent
2ed019b670
commit
bcf6a7ee1d
6 files changed
+115
-24
No files matched your search
@@ -17,11 +17,16 @@ pub func lzw_decoder.decode?(dst ptr io.buf1, src ptr io.buf1, src_final bool)()
|
||||
|
||||
// TODO: implement.
|
||||
|
||||
while n_bits < width,
|
||||
post n_bits >= width,
|
||||
{
|
||||
assert n_bits < 12 via "a < b: a < c <= b"(c:width)
|
||||
bits |= 0 // TODO.
|
||||
n_bits += 8
|
||||
while true {
|
||||
while n_bits < width,
|
||||
post n_bits >= width,
|
||||
{
|
||||
assert n_bits < 12 via "a < b: a < c <= b"(c:width)
|
||||
bits |= 0 // TODO.
|
||||
n_bits += 8
|
||||
}
|
||||
|
||||
// TODO: implement.
|
||||
break
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user