aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 2957356..c275195 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -12,6 +12,7 @@ typedef enum NodeType {
12 // NODE_FUNCALL, 12 // NODE_FUNCALL,
13 NODE_BUILTIN, 13 NODE_BUILTIN,
14 NODE_NUMBER, 14 NODE_NUMBER,
15 NODE_BOOL,
15 NODE_STRING, 16 NODE_STRING,
16} NodeType; 17} NodeType;
17 18
@@ -29,6 +30,9 @@ typedef struct Node {
29 // String. 30 // String.
30 StringView string; 31 StringView string;
31 32
33 // Boolean.
34 bool boolean;
35
32 // Builtin primitive. 36 // Builtin primitive.
33 struct { 37 struct {
34 TokenType type; 38 TokenType type;