From 2ea86eaa3df4727d86306bbfb0f17ec6bd82fa90 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Wed, 14 Jan 2026 12:48:37 +0000 Subject: Changed (non-standard) to a more standard approach with . --- src/ast/ast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ast') diff --git a/src/ast/ast.h b/src/ast/ast.h index cf082a7..a5d3d0a 100644 --- a/src/ast/ast.h +++ b/src/ast/ast.h @@ -54,7 +54,8 @@ typedef struct Type struct Type **args; // For GENERIC args. int arg_count; int is_const; - union { + union + { int array_size; // For fixed-size arrays [T; N]. int is_varargs; // For function types (...). int is_restrict; // For restrict pointers. -- cgit v1.2.3