diff options
Diffstat (limited to 'src/jq')
| -rw-r--r-- | src/jq/execute.zig | 4 | ||||
| -rw-r--r-- | src/jq/saveable_stack.zig | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jq/execute.zig b/src/jq/execute.zig index cee7845..30dabe1 100644 --- a/src/jq/execute.zig +++ b/src/jq/execute.zig @@ -156,11 +156,11 @@ pub const Runtime = struct { return .{ .allocator = allocator, .values = try ValueStack.init(allocator), - .forks = .{}, + .forks = .empty, .instrs = &[_]Instr{}, .pc = 0, .constants = constants, - .variables = .{}, + .variables = .empty, }; } diff --git a/src/jq/saveable_stack.zig b/src/jq/saveable_stack.zig index f3a0b40..6bf2c77 100644 --- a/src/jq/saveable_stack.zig +++ b/src/jq/saveable_stack.zig @@ -67,9 +67,9 @@ pub fn SaveableStack(comptime T: type) type { pub fn init(allocator: std.mem.Allocator) !Self { var stack = Self{ - .segments = .{}, + .segments = .empty, .active_segment_index = 0, - .savepoints = .{}, + .savepoints = .empty, .allocator = allocator, }; |
