aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-06 22:30:21 -0300
committerBad Diode <bd@badd10de.dev>2022-04-06 22:30:21 -0300
commita718a62a45b081bfd2cff8da56da2d2856ca244b (patch)
tree95a27118f2882a6a1b4a99f6f1f05bddcc001267 /src/nodes.h
parentee525dc0a7ccd42ab1d1daa44776eba5a9be37a5 (diff)
downloadbdl-a718a62a45b081bfd2cff8da56da2d2856ca244b.tar.gz
bdl-a718a62a45b081bfd2cff8da56da2d2856ca244b.zip
Add scope pointer to blocks and functions
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 cf0e749..acbe19e 100644
--- a/src/nodes.h
+++ b/src/nodes.h
@@ -19,6 +19,7 @@ typedef struct Node {
19 NodeType type; 19 NodeType type;
20 size_t line; 20 size_t line;
21 size_t col; 21 size_t col;
22 struct Scope *scope;
22 23
23 union { 24 union {
24 // Numbers. 25 // Numbers.