From 56cd967554e39dd9053b2b28c1f603ae63808527 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 20 May 2025 14:18:59 +0200 Subject: optionally omit parenthesis with sequential composition --- src/interpreter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interpreter.c') 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; } -- cgit v1.2.3