aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodes.h')
-rw-r--r--src/nodes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nodes.h b/src/nodes.h
index e6ceb50..566d6d3 100644
--- a/src/nodes.h
+++ b/src/nodes.h
@@ -8,6 +8,7 @@ typedef enum NodeType {
8 NODE_STRING, 8 NODE_STRING,
9 NODE_SYMBOL, 9 NODE_SYMBOL,
10 NODE_DEF, 10 NODE_DEF,
11 NODE_SET,
11} NodeType; 12} NodeType;
12 13
13typedef struct Node { 14typedef struct Node {
@@ -39,6 +40,11 @@ typedef struct Node {
39 struct Node *value; 40 struct Node *value;
40 StringView type; 41 StringView type;
41 } def; 42 } def;
43
44 struct {
45 struct Node *symbol;
46 struct Node *value;
47 } set;
42 }; 48 };
43} Node; 49} Node;
44 50