summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-19 14:44:11 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-19 14:44:11 -0500
commit304a43226ce9f44dc98d87d2b9ca0316258d6035 (patch)
treee2f083acc40e00019f822725e03372d89e98c741 /eval.c
parent13ff2041474f75647b34c5bec58e3289e56be8df (diff)
#foreign is kinda working now!
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3fc414e..b3a9c5c 100644
--- a/eval.c
+++ b/eval.c
@@ -1435,7 +1435,7 @@ static bool eval_expr(Evaluator *ev, Expression *e, Value *v) {
if (!eval_expr(ev, &e->call.arg_exprs[i], &args[i]))
return false;
}
- bool success = foreign_call(fn, &e->call.fn->type, args, e->where);
+ bool success = foreign_call(fn, &e->call.fn->type, args, e->where, v);
free(args);
if (!success)
return false;