| ... | ... | @@ -36,7 +36,7 @@ pub const LineInfo = struct { |
| 36 | 36 | file_name: []const u8, |
| 37 | 37 | allocator: ?*mem.Allocator, |
| 38 | 38 | |
| 39 | | fn deinit(self: LineInfo) void { |
| 39 | pub fn deinit(self: LineInfo) void { |
| 40 | 40 | const allocator = self.allocator orelse return; |
| 41 | 41 | allocator.free(self.file_name); |
| 42 | 42 | } |
| ... | ... | @@ -47,7 +47,7 @@ pub const SymbolInfo = struct { |
| 47 | 47 | compile_unit_name: []const u8 = "???", |
| 48 | 48 | line_info: ?LineInfo = null, |
| 49 | 49 | |
| 50 | | fn deinit(self: @This()) void { |
| 50 | pub fn deinit(self: @This()) void { |
| 51 | 51 | if (self.line_info) |li| { |
| 52 | 52 | li.deinit(); |
| 53 | 53 | } |