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 9dc5a22..2f13ec0 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -208,7 +208,7 @@ int interp_ast(Context *context, ASTNode *node) {
fprintf(stderr, "Error: procedure %s already defined\n", name);
return -1;
}
- ASTNode *procdecl = ast_clone(node);
+ ASTNode *procdecl = ast_clone(node);
context_set_proc(context, name, procdecl);
return 0;
}