Fix odin/parser issues

This commit is contained in:
gingerBill
2020-09-15 22:14:23 +01:00
parent ebad8e8990
commit 4cf240ca05
4 changed files with 207 additions and 28 deletions
+1 -2
View File
@@ -1234,8 +1234,7 @@ card :: proc(s: $S/bit_set[$E; $U]) -> int {
foreign { @(link_name="llvm.ctpop.i128") count_ones :: proc(i: u128) -> u128 --- }
return int(count_ones(transmute(u128)s));
} else {
#assert(false);
return 0;
#panic("Unhandled card bit_set size");
}
}