From 2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 9 Jan 2025 23:00:01 +0200 Subject: initial ptr stuff --- src/lower.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lower.c') diff --git a/src/lower.c b/src/lower.c index 9f806f3..df095e4 100644 --- a/src/lower.c +++ b/src/lower.c @@ -248,6 +248,7 @@ static int lower_expr(struct state *state, struct ast *expr) case AST_INIT: return lower_init(state, expr); case AST_CLOSURE: return lower_closure(state, expr); case AST_REF: return lower_expr(state, ref_base(expr)); + case AST_DEREF: return lower_expr(state, deref_base(expr)); default: internal_error("missing expr lowering"); return -1; -- cgit v1.2.3