fix: do not use undefined yet, as it will not be set correctly yet
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 17s

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.
This commit is contained in:
2025-06-24 20:40:34 +02:00
parent 41d640b299
commit c26f5fd758

View File

@@ -35,7 +35,7 @@ fn parse(allocator: Allocator, content: [:0]const u8) !Ast {
.block => break :tag .{ .block => break :tag .{
.tag = .{ .tag = .{
.block = .{ .block = .{
.kind = undefined, .kind = .tldr, // TODO parse correctly from the contents
}, },
}, },
.loc = token.loc, .loc = token.loc,