aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-07 12:41:34 -0300
committerBad Diode <bd@badd10de.dev>2022-04-07 12:41:34 -0300
commit9f934cbc0f0fd60a6938ac1c4c84edc270de94ca (patch)
tree9304f9bc802eac175b594de4bf81730b7d815513 /src/nodes.c
parenta718a62a45b081bfd2cff8da56da2d2856ca244b (diff)
downloadbdl-9f934cbc0f0fd60a6938ac1c4c84edc270de94ca.tar.gz
bdl-9f934cbc0f0fd60a6938ac1c4c84edc270de94ca.zip
Add initial implementation of typeclass resolution
Diffstat (limited to 'src/nodes.c')
-rw-r--r--src/nodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodes.c b/src/nodes.c
index a5b67d1..5689d18 100644
--- a/src/nodes.c
+++ b/src/nodes.c
@@ -9,6 +9,7 @@ alloc_node(NodeType type) {
9 node->line = 0; 9 node->line = 0;
10 node->col = 0; 10 node->col = 0;
11 node->scope = NULL; 11 node->scope = NULL;
12 node->type_class = TYPE_UNK;
12 return node; 13 return node;
13} 14}
14 15