diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-25 17:18:00 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-25 17:18:00 +0200 |
| commit | c008d747534f4c8aa59b045efbca754618e14b41 (patch) | |
| tree | 68c094fed420230985724c300195c0389d2339e8 /src/content.zig | |
| parent | a3e7c462dadadc6986d93f6f0203ca7a02863ef8 (diff) | |
style(eval): move in its own package
Diffstat (limited to 'src/content.zig')
| -rw-r--r-- | src/content.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content.zig b/src/content.zig index 68d88ad..53f9418 100644 --- a/src/content.zig +++ b/src/content.zig @@ -2,7 +2,7 @@ const std = @import("std"); const Allocator = std.mem.Allocator; const Token = @import("lexer/Token.zig"); const Lexer = @import("lexer/Lexer.zig"); -const Element = @import("Element.zig"); +const Element = @import("eval/Element.zig"); const parser = @import("parser.zig"); const link = @import("link.zig"); const testing = @import("testing.zig"); @@ -29,7 +29,7 @@ pub fn parse(alloc: Allocator, l: *Lexer) Error!Element { } fn parseModifier(alloc: Allocator, l: *Lexer, knd: Token.Kind, comptime tag: []const u8) Error!Element { - var el = try Element.Modifier(tag).init(alloc); + var el = try Element.Simple(tag).init(alloc); errdefer el.deinit(alloc); while (l.peek()) |next| { if (next.kind == knd) { |
