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
/
node.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 'node.c')
-rw-r--r--
node.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.c b/node.c
index 586ed52..0e87370 100644
--- a/
node.c
+++ b/
node.c
@@ -15,6 +15,8 @@ char *str;
p->name = strdup(str);
p->next = NULL;
+ p->var_type = -1;
+
return p;
}