diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-28 19:37:37 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-28 19:37:37 +0200 |
| commit | d9e37656e83d7d3c25709795ab7ccccca0071254 (patch) | |
| tree | 622789be5f608f39d6fdd9b9b99a16209f3b1d7f /src/parser.zig | |
| parent | 3b1e6547d069d7c438af551a4989972802a895ee (diff) | |
perf(eval): reduce memory usage
Diffstat (limited to 'src/parser.zig')
| -rw-r--r-- | src/parser.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.zig b/src/parser.zig index 72b803f..c8f1c81 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -39,7 +39,7 @@ fn gen(parent: Allocator, l: *Lexer) Error!*Document { errdefer root.deinit(); const alloc = root.allocator(); base: while (l.peek()) |it| { - try root.append(switch (it.kind) { + root.append(switch (it.kind) { // other blocks .title => try title.parse(alloc, l), .list_ordored => try list.parseOrdored(alloc, l), |
