aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-08 08:25:48 -0300
committerBad Diode <bd@badd10de.dev>2022-04-08 08:25:48 -0300
commit55ecfb3b7713172f76ddbff022fa4d6a80d0661a (patch)
tree6a6baae20d67824d5f79b801b27f58cc967a3ba1 /src/nodes.h
parent9f934cbc0f0fd60a6938ac1c4c84edc270de94ca (diff)
downloadbdl-55ecfb3b7713172f76ddbff022fa4d6a80d0661a.tar.gz
bdl-55ecfb3b7713172f76ddbff022fa4d6a80d0661a.zip
Add initial implementation of AST vizualization
Diffstat (limited to 'src/nodes.h')
-rw-r--r--src/nodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nodes.h b/src/nodes.h
index 853495a..be6f7df 100644
--- a/src/nodes.h
+++ b/src/nodes.h
@@ -24,6 +24,7 @@ typedef enum TypeClass {
24} TypeClass; 24} TypeClass;
25 25
26typedef struct Node { 26typedef struct Node {
27 size_t id;
27 NodeType type; 28 NodeType type;
28 size_t line; 29 size_t line;
29 size_t col; 30 size_t col;