aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 9b3342c8..558c021e 100644
--- a/eval.c
+++ b/eval.c
@@ -1337,6 +1337,13 @@ setup_frame(INSTRUCTION *pc)
r->var_value = m;
break;
+ case Node_func:
+ case Node_builtin_func:
+ case Node_ext_func:
+ r->type = Node_var;
+ r->var_value = make_string(m->vname, strlen(m->vname));
+ break;
+
default:
cant_happen();
}