aboutsummaryrefslogtreecommitdiff
path: root/pc.y
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-09-05 18:16:11 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-09-05 18:17:34 -0400
commitb26e6d2c8ff71beac5da975de1b6ac450bfe282b (patch)
tree4e2cd49b0575b37a464b95565318afef784d4ecf /pc.y
parent3a9747434de494fa189cf02ac31f6a4cff7fc761 (diff)
Fix debug prints
- Removes tree_print from function parsing - ID can't have ID as child, removes check in tree_print
Diffstat (limited to 'pc.y')
-rw-r--r--pc.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/pc.y b/pc.y
index 72e9b6a..f97db8d 100644
--- a/pc.y
+++ b/pc.y
@@ -185,7 +185,6 @@ sub_prog_head
tmp->func_info->argc = i;
assert(tmp->func_info->argv = malloc(i * sizeof(int)));
- print_tree($3);
assert(!set_func_types($3, tmp->func_info->argv, i));
tmp->var_type = $5;