index
:
pascal_compiler
master
Small compiler for a subset of pascal
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
pc.y
1
1 files changed, 1 insertions, 0 deletions
diff --git a/pc.y b/pc.y
index 4c4b276..b0f9e4a 100644
--- a/
pc.y
+++ b/
pc.y
@@ -112,6 +112,7 @@ program
print_scope(cur_scope);
#endif
pop_scope(&cur_scope);
+ free($2);
}
;