diff options
-rw-r--r-- | src/parser.zig | 10 |
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, |