mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
lang: remove endwhile keyword
This commit is contained in:
1 parent
6c8a43390b
commit
aae5997e12
56 files changed
+578
-590
No files matched your search
@@ -69,7 +69,7 @@ pub func hasher.update!(x: roslice base.u8) {
|
||||
this.up!(x: args.x)
|
||||
|
||||
args.x = remaining
|
||||
} endwhile
|
||||
}
|
||||
}
|
||||
|
||||
pub func hasher.update_u32!(x: roslice base.u8) base.u32 {
|
||||
@@ -135,7 +135,7 @@ pri func hasher.up!(x: roslice base.u8) {
|
||||
this.buf_data[this.buf_len] = args.x[0]
|
||||
this.buf_len += 1
|
||||
args.x = args.x[1 ..]
|
||||
} endwhile
|
||||
}
|
||||
|
||||
buf_len = (this.buf_len & 15) as base.u32
|
||||
v0 = this.v0
|
||||
@@ -249,7 +249,7 @@ pub func hasher.checksum_u32() base.u32 {
|
||||
ret ~mod*= XXH_PRIME32_1
|
||||
|
||||
i += 1
|
||||
} endwhile
|
||||
}
|
||||
|
||||
ret ^= ret >> 15
|
||||
ret ~mod*= XXH_PRIME32_2
|
||||
|
||||
Reference in new issue
Block a user