diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-13 21:38:00 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-13 21:38:00 +0200 |
commit | dd67e7b992ded6b02a1c476f79fd9dc948d45730 (patch) | |
tree | 20f5d6833ba681006280a46a9410f7518657dab1 | |
parent | 8001ced3a088fc26a8c4e60dcd31dbba6c7b0eba (diff) |
eval: use ut_getscope() in ut_execute_local()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -483,7 +483,7 @@ ut_execute_local(struct ut_state *state, uint32_t off) if (label) rv = ut_setval( - state->stack.scope[state->stack.off-1], label->val, + ut_getscope(state, 0), label->val, as->tree.operand[1] ? ut_execute_op(state, as->tree.operand[1]) : NULL); as = ut_get_op(state, as->tree.next); |