Fix odin/parser issues
This commit is contained in:
1 parent
ebad8e8990
commit
4cf240ca05
4 files changed
+207
-28
No files matched your search
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user