diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 17:36:52 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 17:36:52 +0200 |
| commit | 5ecd48d4b9f928beb4143f88e802ee4d9e25a2bd (patch) | |
| tree | 6fd4944a8c81891046c7006336f46b808b56d08d /src/quote.zig | |
| parent | 103efd52b59f77fbfde6a1b7daf65b16c2c26810 (diff) | |
refactor(element): supports more type in root append
Diffstat (limited to 'src/quote.zig')
| -rw-r--r-- | src/quote.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quote.zig b/src/quote.zig index ad5a156..0011f60 100644 --- a/src/quote.zig +++ b/src/quote.zig @@ -20,7 +20,7 @@ pub fn parse(alloc: Allocator, l: *Lexer) Error!Element { .weak_delimiter => { l.consume(); if (l.peek()) |it| if (it.kind != .quote) break; - root.append((try Element.Literal.init(alloc, " ")).element()); + root.append(try Element.Literal.init(alloc, " ")); continue; }, .strong_delimiter => break, |
