From 3c7bf4b8176c25eb326b49d45ee3ace371c7e01d Mon Sep 17 00:00:00 2001 From: Taylor Hillegeist Date: Mon, 21 Oct 2024 09:48:34 -0500 Subject: [PATCH] Update gen.zig Unmatched closing bracket. --- tools/regz/src/gen.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/regz/src/gen.zig b/tools/regz/src/gen.zig index 5007e679b..a85b9602c 100644 --- a/tools/regz/src/gen.zig +++ b/tools/regz/src/gen.zig @@ -839,7 +839,7 @@ fn write_fields( next.size, }); try write_enum_fields(db, enum_id, writer); - try writer.writeAll("},\n},\n"); + try writer.writeAll("},\n"); } } else { try writer.print("{}: u{},\n", .{ std.zig.fmtId(name), next.size });