Fix odin/parser issues

This commit is contained in:
gingerBill committed 2020-09-15 22:14:23 +01:00
1 parent ebad8e8990
commit 4cf240ca05
4 files changed
+207 -28

No files matched your search

+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");
}
}