index
:
pascal_compiler
master
Small compiler for a subset of pascal
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tree.c
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
(limited to 'tree.c')
-rw-r--r--
tree.c
1
1 files changed, 1 insertions, 0 deletions
diff --git a/tree.c b/tree.c
index a1a3f0f..b30fa35 100644
--- a/
tree.c
+++ b/
tree.c
@@ -22,6 +22,7 @@ ptree *l, *r;
t->l = l;
t->r = r;
t->ret_type = 0;
+ t->attr.nval = 0;
return t;
}