Commit 91e489174b

Jacob Young <jacobly0@users.noreply.github.com>
2022-12-06 08:52:48
CBE: avoid trailing space
1 parent 3683602
Changed files (1)
src
codegen
src/codegen/c.zig
@@ -4434,8 +4434,9 @@ fn airSwitchBr(f: *Function, inst: Air.Inst.Index) !CValue {
                 try writer.writeByte(')');
             }
             try f.object.dg.renderValue(writer, condition_ty, f.air.value(item).?, .Other);
-            try writer.writeAll(": ");
+            try writer.writeByte(':');
         }
+        try writer.writeByte(' ');
 
         if (case_i != last_case_i) {
             const old_value_map = f.value_map;