| ... | @@ -546,9 +546,9 @@ fn replace_variables( | ... | @@ -546,9 +546,9 @@ fn replace_variables( |
| 546 | allocator.free(content_buf); | 546 | allocator.free(content_buf); |
| 547 | content_buf = buf; | 547 | content_buf = buf; |
| 548 | }, | 548 | }, |
| 549 | .string => |string| { | 549 | .string, .ident => |x| { |
| 550 | const buf = try std.fmt.allocPrint(allocator, "{s}{s}{s}", .{ beginline, string, endline }); | 550 | const buf = try std.fmt.allocPrint(allocator, "{s}{s}{s}", .{ beginline, x, endline }); |
| 551 | last_index = start_index + string.len + 1; | 551 | last_index = start_index + x.len + 1; |
| 552 | | 552 | |
| 553 | allocator.free(content_buf); | 553 | allocator.free(content_buf); |
| 554 | content_buf = buf; | 554 | content_buf = buf; |