aboutsummaryrefslogtreecommitdiff
path: root/pc.y
diff options
context:
space:
mode:
Diffstat (limited to 'pc.y')
-rw-r--r--pc.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/pc.y b/pc.y
index d63d8fc..05b50aa 100644
--- a/pc.y
+++ b/pc.y
@@ -93,6 +93,7 @@ program
'.'
{
print_tree($9);
+ free_tree($4);
}
;
@@ -159,6 +160,7 @@ sub_prog_declaration
compound_statement
{
print_tree($4);
+ free_tree($4);
pop_scope(&cur_scope);
}
;