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 fdc88b9..661ae14 100644
--- a/eval.c
+++ b/eval.c
@@ -1019,7 +1019,7 @@ ut_invoke(struct ut_state *state, uint32_t off, struct json_object *this,
json_object_put(rv);
rv = ut_exception(state, ut_get_off(state, tag),
"Syntax error: %s statement must be inside loop",
- tokennames[tag->type]);
+ ut_get_tokenname(tag->type));
break;
case T_RETURN: