| author | |
| committer | |
| log | 79f74943b525daa06f2b2c3d460da97a88aee5bb |
| tree | e90bcee0a81a20423c0906bc63ee299e8623607e |
| parent | 9b5737b5a6c6dab61917d17ce9eec35e5978942b |
This was trying to output a ternary operator, but the output was broken
by the lack of a '?'.1 files changed, 1 insertions(+), 1 deletions(-)
src/codegen/c.zig+1-1| ... | ... | @@ -2541,7 +2541,7 @@ fn airMinMax(f: *Function, inst: Air.Inst.Index, operator: [*:0]const u8) !CValu |
| 2541 | 2541 | try f.writeCValue(writer, lhs); |
| 2542 | 2542 | try writer.print("{s}", .{operator}); |
| 2543 | 2543 | try f.writeCValue(writer, rhs); |
| 2544 | try writer.writeAll(") "); | |
| 2544 | try writer.writeAll(") ? "); | |
| 2545 | 2545 | try f.writeCValue(writer, lhs); |
| 2546 | 2546 | try writer.writeAll(" : "); |
| 2547 | 2547 | try f.writeCValue(writer, rhs); |