aboutsummaryrefslogtreecommitdiff
path: root/src/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.c')
-rw-r--r--src/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.c b/src/driver.c
index 3727f11..c43b899 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -170,7 +170,7 @@ static void ast_print (IMP_ASTNode *node, int depth) {
printf("%*sCALL %s(", indent, "", node->data.proc_call.name);
IMP_ASTNodeList *args = node->data.proc_call.val_args;
while (args) {
- printf("%s", args->node->data.variable.name);
+ ast_print(args->node, 0);
args = args->next;
if (args) printf(", ");
}