diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-19 14:44:11 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-01-19 14:44:11 -0500 |
commit | 304a43226ce9f44dc98d87d2b9ca0316258d6035 (patch) | |
tree | e2f083acc40e00019f822725e03372d89e98c741 /eval.c | |
parent | 13ff2041474f75647b34c5bec58e3289e56be8df (diff) |
#foreign is kinda working now!
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |