aboutsummaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-01-07 20:35:36 +0100
committertomsmeding <tom.smeding@gmail.com>2018-01-07 20:35:36 +0100
commit20d898496b7371872bfd128a895d39465f13c970 (patch)
tree44ab01e31b408a1ff96f454445a6886b41c0f681 /node.h
parent6eb88017ce9a2e91d90634cbb77097dd821b8626 (diff)
Now with type checking
Diffstat (limited to 'node.h')
-rw-r--r--node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.h b/node.h
index f98257f..b6489d0 100644
--- a/node.h
+++ b/node.h
@@ -38,6 +38,8 @@ struct node {
char *name;
int value;
enum operator oper;
+
+ struct type *valuetype; // filled in by type checker
};