diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-20 14:18:59 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-20 14:18:59 +0200 |
commit | 56cd967554e39dd9053b2b28c1f603ae63808527 (patch) | |
tree | 1d89a38c46a929e162ed8c6b555a9f1684053650 /src/interpreter.c | |
parent | fbbe2f207a26b410d485c9dea07a22256a02d50b (diff) | |
download | imp-56cd967554e39dd9053b2b28c1f603ae63808527.tar.gz imp-56cd967554e39dd9053b2b28c1f603ae63808527.zip |
optionally omit parenthesis with sequential composition
Diffstat (limited to 'src/interpreter.c')
-rw-r--r-- | src/interpreter.c | 2 |
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; } |