From 5ecd48d4b9f928beb4143f88e802ee4d9e25a2bd Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 30 Apr 2026 17:36:52 +0200 Subject: refactor(element): supports more type in root append --- src/quote.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quote.zig') 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, -- cgit v1.2.3