aboutsummaryrefslogtreecommitdiff
path: root/src/lower.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-09 23:00:01 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-09 23:00:01 +0200
commit2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c (patch)
tree3cef502c8bd0dfad3b6a119efef6b71bba8d1e5b /src/lower.c
parent598be4cd1bdd79e4859ae30291f4d65682cc672a (diff)
downloadfwd-2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c.tar.gz
fwd-2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c.zip
initial ptr stuff
Diffstat (limited to 'src/lower.c')
-rw-r--r--src/lower.c1
1 files changed, 1 insertions, 0 deletions
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;