diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-02-26 03:12:24 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-02-26 03:12:24 +0200 |
| commit | 2bdf1f8b1856bca8091d66a7a447e6c90993c297 (patch) | |
| tree | 2b1bceb8beac7435907a30ca45c2cdab09e0df6b /src/actualize.c | |
| parent | 89a907ddd0b7f6b888c61d54e3e41a8cee00b971 (diff) | |
| download | ek-2bdf1f8b1856bca8091d66a7a447e6c90993c297.tar.gz ek-2bdf1f8b1856bca8091d66a7a447e6c90993c297.zip | |
remove args from grammar
+ Expressions are slightly more powerful as a result and the parser is a
bit simpler
Diffstat (limited to 'src/actualize.c')
| -rw-r--r-- | src/actualize.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |
