From 2bdf1f8b1856bca8091d66a7a447e6c90993c297 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 26 Feb 2024 03:12:24 +0200 Subject: remove args from grammar + Expressions are slightly more powerful as a result and the parser is a bit simpler --- src/actualize.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/actualize.c') diff --git a/src/actualize.c b/src/actualize.c index 60e5108..3460851 100644 --- a/src/actualize.c +++ b/src/actualize.c @@ -2041,8 +2041,6 @@ static int actualize_dot(struct act_state *state, struct ast_node *id = AST_DOT(node).id; struct ast_node *type = expr->type; - if (AST_TYPE(type).kind == AST_TYPE_POINTER) - type = AST_PTR_TYPE(type).base; struct ast_node *def = NULL; switch (AST_TYPE(type).kind) { -- cgit v1.3