diff --git a/yaml.zig b/yaml.zig index 8615137ab8331a6cfa6f3d258d01792cc07dfb83..a4e7605255d4271a6e6359559376995e3d1bc6ff 100644 --- a/yaml.zig +++ b/yaml.zig @@ -179,7 +179,7 @@ pub fn parse(alloc: std.mem.Allocator, input: string) !Document { } } - const p = &Parser{ + var p = Parser{ .alloc = alloc, .tokens = all_events.items, .lines = lines,