| ... | ... | @@ -546,9 +546,9 @@ fn replace_variables( |
| 546 | 546 | allocator.free(content_buf); |
| 547 | 547 | content_buf = buf; |
| 548 | 548 | }, |
| 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; |
| 552 | 552 | |
| 553 | 553 | allocator.free(content_buf); |
| 554 | 554 | content_buf = buf; |