From e5d8c4219cfe5629a3ce4dbff01406a1817a788f Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Tue, 20 Jan 2026 12:06:28 +0000 Subject: Reference binding... --- src/parser/parser_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser/parser_core.c') diff --git a/src/parser/parser_core.c b/src/parser/parser_core.c index acab268..3c2805c 100644 --- a/src/parser/parser_core.c +++ b/src/parser/parser_core.c @@ -591,8 +591,8 @@ static ASTNode *generate_derive_impls(ParserContext *ctx, ASTNode *strct, char * else if (fdef && fdef->type == NODE_STRUCT) { // Struct field: use _eq function, pass addresses - // self.field is L-value, other.field is L-value (auto-deref from pointer) - // We need addresses of them: &self.field, &other.field + // self.field is L-value, other.field is L-value (auto-deref from + // pointer) We need addresses of them: &self.field, &other.field sprintf(cmp, "%s__eq(&self.%s, &other.%s)", ft, fn, fn); } else -- cgit v1.2.3