summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.zig10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/parser.zig b/src/parser.zig
index f574161..4b64303 100644
--- a/src/parser.zig
+++ b/src/parser.zig
@@ -12,7 +12,6 @@ const NodeType = enum {
     ASSIGNMENT_STATEMENT,
     FUNCTION_CALL_STATEMENT,
     IF_STATEMENT,
-    EXPRESSION,
     EQUALITY_EXPRESSION,
     ADDITIVE_EXPRESSION,
     UNARY_EXPRESSION,
@@ -41,15 +40,6 @@ pub const Node = union(NodeType) {
         condition: *Node,
         statements: []*Node,
     },
-    EXPRESSION: union(enum) {
-        //TODO: Why do we need this
-        ADDITIVE_EXPRESSION: struct {
-            expression: *Node,
-        },
-        FUNCTION_DEFINITION: struct {
-            expression: *Node,
-        },
-    },
     EQUALITY_EXPRESSION: struct {
         lhs: *Node,
         rhs: *Node,