summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
Diffstat (limited to 'unwind.c')
-rw-r--r--unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unwind.c b/unwind.c
index 4bb6646c..33acfb79 100644
--- a/unwind.c
+++ b/unwind.c
@@ -149,7 +149,7 @@ val uw_get_func(val sym)
val uw_set_func(val sym, val value)
{
uw_frame_t *env = uw_find_env();
- env->ev.func_bindings = acons_new(env->ev.func_bindings, sym, value);
+ env->ev.func_bindings = acons_new(sym, value, env->ev.func_bindings);
return value;
}