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
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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user