mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Print } as format argument in enum build option (#5953)
Co-authored-by: Veikka Tuominen <git@vexu.eu> Co-authored-by: Joachim Schmidt <joachim.schmidt557@outlook.com>
This commit is contained in:
parent
0962cc5a32
commit
0d31877444
@ -1710,7 +1710,7 @@ pub const LibExeObjStep = struct {
|
||||
inline for (enum_info.fields) |field| {
|
||||
out.print(" {},\n", .{field.name}) catch unreachable;
|
||||
}
|
||||
out.print("}};\n", .{}) catch unreachable;
|
||||
out.writeAll("};\n") catch unreachable;
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user