From e56b9fed6c0afd1c4d29bedc08c3899ffe1165e9 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Sun, 18 Jun 2023 21:58:45 -0700 Subject: [PATCH] temporaries are now const --- yaml.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.54.0