aboutsummaryrefslogtreecommitdiff
path: root/interpreter.c
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.c')
-rw-r--r--interpreter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/interpreter.c b/interpreter.c
index 3743c4a..1ca2744 100644
--- a/interpreter.c
+++ b/interpreter.c
@@ -51,7 +51,8 @@ main (int argc, char *argv[]) {
printf ("%s\n", "runtime library initialization failed");
struct item *result = NULL;
- (void) execute (&ctx, program, &result);
+ // TODO: pass argv as the list of arguments
+ (void) execute_block (&ctx, program, NULL, &result);
item_free_list (result);
item_free_list (program);