summaryrefslogtreecommitdiffhomepage
path: root/eval.c
diff options
context:
space:
mode:
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 cfee806..c7cad75 100644
--- a/eval.c
+++ b/eval.c
@@ -1050,7 +1050,7 @@ ut_invoke(struct ut_state *state, uint32_t off, struct json_object *scope,
return cfn ? cfn(state, off, argvals) : NULL;
}
- decl = tag->tag.data;
+ decl = ut_get_op(state, tag->tag.off);
arg = ut_get_op(state, decl ? decl->tree.operand[1] : 0);
s = scope ? scope : ut_addscope(state, ut_get_off(state, decl));