mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
match to switch; Optional semicolons after "import" statements
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ encode :: proc(d: []u16, s: []rune) {
|
||||
n = 0;
|
||||
|
||||
for r in s {
|
||||
match r {
|
||||
switch r {
|
||||
case 0.._surr1, _surr3.._surr_self:
|
||||
d[n] = u16(r);
|
||||
n += 1;
|
||||
|
||||
Reference in New Issue
Block a user