summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions.c b/functions.c
index 3559050..30a7dd1 100644
--- a/functions.c
+++ b/functions.c
@@ -128,7 +128,8 @@ Array *indexOfHelper(Array *, Array *, int);
Array *
runfunc(Function f, Array *left, Array *right)
{
- checkstack();
+ stackusage(); /* update it */
+
Array *result;
if(f.type == FunctypeDfn || (f.type == FunctypeOp && f.operator.type == OperatortypeDop)){
Rune *code;