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> 2024-01-29 14:29:34-07:00
logd168579b6f500b2c5037a5c8ccc1afc0485f0696
treef5cb7b1fd29d132e3391fa6ef3d28befafa90295
parentc0fd64af0323ec5da7c79a7f36072d483eac738b

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;