inverse headers

This commit is contained in:
Motiejus Jakštys 2022-07-06 11:17:52 +03:00
parent 9f69a972ee
commit cb9250010e

View File

@ -153,7 +153,7 @@ fn execute(
const start = @field(offsets, field.name); const start = @field(offsets, field.name);
const end = start + @field(lengths, field.name); const end = start + @field(lengths, field.name);
stdout.print("{s:>21} {x:0>8} {x:0>8} {s:>10}\n", .{ stdout.print(" {s:<21}{x:0>8} {x:0>8} {s:>10}\n", .{
field.name, field.name,
start << section_length_bits, start << section_length_bits,
end << section_length_bits, end << section_length_bits,