From 237ead3921ff7e1766425eb4a16470591d5babb0 Mon Sep 17 00:00:00 2001 From: Ernesto Lanchares Date: Sun, 30 Mar 2025 14:36:51 +0200 Subject: Fixed an error during ir parsing. --- src/mods/ir.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mods') diff --git a/src/mods/ir.zig b/src/mods/ir.zig index e745cb8..91e0eaf 100644 --- a/src/mods/ir.zig +++ b/src/mods/ir.zig @@ -764,7 +764,7 @@ const IRParserState = struct { var it = self.branches.iterator(); while (it.next()) |branch| { - if (start < branch.key_ptr.* and branch.key_ptr.* < end) { + if (start <= branch.key_ptr.* and branch.key_ptr.* <= end) { if (branch.value_ptr.* == 0) { self.indices.items[branch.key_ptr.*].u32 = jump_addr; try todel.append(self.allocator, branch.key_ptr.*); -- cgit v1.2.3