aboutsummaryrefslogtreecommitdiff
path: root/src/interpreter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpreter.c')
-rw-r--r--src/interpreter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.c b/src/interpreter.c
index 4449847..6b1ebe1 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -101,7 +101,7 @@ void exec_stmt(hashmap_t context, ASTNode *node) {
int old_val = context_get(context, name);
int new_val = eval_aexpr(context, node->u.d_let.aexp);
context_set(context, name, new_val);
- exec_stmt(context, node->u.d_let.stm);
+ exec_stmt(context, node->u.d_let.stm);
context_set(context, name, old_val);
return;
}