aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-06 22:02:55 -0300
committerBad Diode <bd@badd10de.dev>2022-04-06 22:02:55 -0300
commit8186228baa8a4e646e2f11c0dbbf6a023079f8eb (patch)
tree56387d7a0fc52b2b9691c6d01202b2fb6338b77a /src/nodes.c
parent725ba80c048069d15b2668ad0fa0e123819ec410 (diff)
downloadbdl-8186228baa8a4e646e2f11c0dbbf6a023079f8eb.tar.gz
bdl-8186228baa8a4e646e2f11c0dbbf6a023079f8eb.zip
Add initial implementation of symbol checking
Diffstat (limited to 'src/nodes.c')
-rw-r--r--src/nodes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodes.c b/src/nodes.c
index af3b772..a420189 100644
--- a/src/nodes.c
+++ b/src/nodes.c
@@ -6,6 +6,8 @@ alloc_node(NodeType type) {
6 // TODO: Free memory! 6 // TODO: Free memory!
7 Node *node = malloc(sizeof(Node)); 7 Node *node = malloc(sizeof(Node));
8 node->type = type; 8 node->type = type;
9 node->line = 0;
10 node->col = 0;
9 return node; 11 return node;
10} 12}
11 13