| author | |
| committer | |
| log | 9a0006c9365b60df65274b14e26d416798c1341f |
| tree | 796410c162b78cf4cf2b53743e0ee09c54a8d22e |
| parent | c25bc492962807afcbad80cc9911c24774298363 |
1 files changed, 2 insertions(+), 0 deletions(-)
src/lib.zig+2| ... | ... | @@ -26,6 +26,8 @@ pub fn compile(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, co |
| 26 | 26 | try writer.writeAll("\n"); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | pub const Writer = std.ArrayList(u8).Writer; | |
| 30 | ||
| 29 | 31 | inline fn do(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, indent: usize, flag1: bool) anyerror!void { |
| 30 | 32 | switch (comptime value) { |
| 31 | 33 | .element => |v| { |