| ... | @@ -354,7 +354,10 @@ pub const AllErrors = struct { | ... | @@ -354,7 +354,10 @@ pub const AllErrors = struct { |
| 354 | try stderr.print(" {s}\n", .{src.msg}); | 354 | try stderr.print(" {s}\n", .{src.msg}); |
| 355 | ttyconf.setColor(stderr, .Reset); | 355 | ttyconf.setColor(stderr, .Reset); |
| 356 | if (src.source_line) |line| { | 356 | if (src.source_line) |line| { |
| 357 | try stderr.writeAll(line); | 357 | for (line) |b| switch (b) { |
| | 358 | '\t' => try stderr.writeByte(' '), |
| | 359 | else => try stderr.writeByte(b), |
| | 360 | }; |
| 358 | try stderr.writeByte('\n'); | 361 | try stderr.writeByte('\n'); |
| 359 | try stderr.writeByteNTimes(' ', src.column); | 362 | try stderr.writeByteNTimes(' ', src.column); |
| 360 | ttyconf.setColor(stderr, .Green); | 363 | ttyconf.setColor(stderr, .Green); |