authorgravatar for alichraghi@proton.meAli Chraghi <alichraghi@proton.me> 2023-08-05 05:49:24+03:30
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-08-10 16:17:32-07:00
log7ab306d1f7c3f028ff2d90cb32343c2f2444a86f
treeb4903866af1040f0ccec98ba10ba45ee7e1f9b52
parent77dd64b5f449982bda1bf1871e214a68c535f4c5

Build.ConfigHeader: render identifiers


1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/Build/Step/ConfigHeader.zig+3-3
......@@ -546,9 +546,9 @@ fn replace_variables(
546546 allocator.free(content_buf);
547547 content_buf = buf;
548548 },
549 .string => |string| {
550 const buf = try std.fmt.allocPrint(allocator, "{s}{s}{s}", .{ beginline, string, endline });
551 last_index = start_index + string.len + 1;
549 .string, .ident => |x| {
550 const buf = try std.fmt.allocPrint(allocator, "{s}{s}{s}", .{ beginline, x, endline });
551 last_index = start_index + x.len + 1;
552552
553553 allocator.free(content_buf);
554554 content_buf = buf;