commit b4f333220d2171a0084a6a7b0cec858147711217
parent 54df051635b265ec8aa5f3ef95ba814e654f1a02
Author: gracefu <81774659+gracefuu@users.noreply.github.com>
Date: Sat, 24 May 2025 22:02:52 +0800
Reduce code size by ensuring u32 is 4 byte aligned
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Ast.zig b/src/Ast.zig
@@ -31,12 +31,12 @@ pub const Node = packed struct(u64) {
leaf: packed struct { len: StrLen },
},
- /// Source location of the node
- off: StrOffset,
-
/// The type of node
tag: Tag,
+ /// Source location of the node
+ off: StrOffset,
+
// ================
// pub fns