From c26f5fd75851fa8e8c05012f375e5441631e5102 Mon Sep 17 00:00:00 2001 From: Yves Biener Date: Tue, 24 Jun 2025 20:40:34 +0200 Subject: [PATCH] fix: do not use `undefined` yet, as it will not be set correctly yet With this the test will run successful again, but show every block as a `.tldr` one, and not based on what is actually found, as that part of the parser has not been implemented yet. --- src/parser.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.zig b/src/parser.zig index 7d276c2..858e760 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -35,7 +35,7 @@ fn parse(allocator: Allocator, content: [:0]const u8) !Ast { .block => break :tag .{ .tag = .{ .block = .{ - .kind = undefined, + .kind = .tldr, // TODO parse correctly from the contents }, }, .loc = token.loc,