| ... | @@ -36,7 +36,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a | ... | @@ -36,7 +36,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a |
| 36 | | 36 | |
| 37 | pub const Writer = std.ArrayList(u8).Writer; | 37 | pub const Writer = std.ArrayList(u8).Writer; |
| 38 | | 38 | |
| 39 | inline fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void { | 39 | fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void { |
| 40 | switch (comptime value) { | 40 | switch (comptime value) { |
| 41 | .element => |v| { | 41 | .element => |v| { |
| 42 | const hastext = comptime for (v.children) |x| { | 42 | const hastext = comptime for (v.children) |x| { |