aboutsummaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-08-04 21:52:30 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-08-04 21:52:30 -0400
commita359edde7c8806687c4f0307dbfc6f77077ba063 (patch)
tree8a06fa32ce403cb961b6a32ecce7c19d78c40fb1 /node.c
parent0caa6768c7055c3e3fb2f2ebeda2c35152ea011b (diff)
Fix updating type on single variable declarations
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
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;
}