mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
match to switch; Optional semicolons after "import" statements
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ shift :: proc(a: ^Decimal, k: int) {
|
||||
uint_size :: 8*size_of(uint);
|
||||
max_shift :: uint_size-4;
|
||||
|
||||
match {
|
||||
switch {
|
||||
case a.count == 0:
|
||||
// no need to update
|
||||
case k > 0:
|
||||
|
||||
Reference in New Issue
Block a user