authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:42:08 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-07 00:42:08 -07:00
log9a7e3ba149203ceda74a41b61172a9e6bce449d0
tree9bbe21a18f648910aee1ef720776e3e482b9c4d4
parent3601a3e2464cfe9598ea60fd45736c0f0c8680df

compile- complete print with newline


2 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1
......@@ -35,6 +35,7 @@ pub fn parse(comptime input: []const u8) astgen.Value {
3535pub fn compile(writer: anytype, comptime value: astgen.Value, data: anytype) !void {
3636 try writer.writeAll("<!DOCTYPE html>\n");
3737 try do(writer, value, data, data, 0, false);
38 try writer.writeAll("\n");
3839}
3940
4041fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, indent: usize, flag1: bool) anyerror!void {
src/main.zig-1
......@@ -40,5 +40,4 @@ pub fn main() !void {
4040 .{ .name = "Phoenix", .state = .{ .code = "AZ" } },
4141 },
4242 });
43 std.debug.print("\n", .{});
4443}