From b885629239d04d2860a8853799a3d335d8bec154 Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sat, 17 Jan 2026 15:33:18 +0000 Subject: Add support for mixin method dispatch. --- src/ast/ast.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ast') diff --git a/src/ast/ast.h b/src/ast/ast.h index 3269e55..a528129 100644 --- a/src/ast/ast.h +++ b/src/ast/ast.h @@ -380,9 +380,11 @@ struct ASTNode int generic_param_count; // Number of generic parameters char *parent; int is_union; - int is_packed; // @packed attribute. - int align; // @align(N) attribute, 0 = default. - int is_incomplete; // Forward declaration (prototype) + int is_packed; // @packed attribute. + int align; // @align(N) attribute, 0 = default. + int is_incomplete; // Forward declaration (prototype) + char **used_structs; // Names of structs used/mixed-in + int used_struct_count; } strct; struct -- cgit v1.2.3