summary refs log tree commit diff
path: root/src/parser.zig
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-16 00:36:57 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2025-01-16 00:36:57 +0100
commitddb118b488da257bb4b4db5e79881aedd62d5b8a (patch)
treec0e21c5abdc65187c234fb12a38a1644865d33ff /src/parser.zig
parentParser: clean (diff)
downloadinterpreter-ddb118b488da257bb4b4db5e79881aedd62d5b8a.tar.gz
interpreter-ddb118b488da257bb4b4db5e79881aedd62d5b8a.tar.bz2
interpreter-ddb118b488da257bb4b4db5e79881aedd62d5b8a.zip
Evaluator: Start working on new function-capable evaluator
Diffstat (limited to 'src/parser.zig')
-rw-r--r--src/parser.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.zig b/src/parser.zig
index 3732b2b..f7f90ba 100644
--- a/src/parser.zig
+++ b/src/parser.zig
@@ -37,7 +37,7 @@ pub const Node = union(NodeType) {
     FUNCTION_CALL_STATEMENT: struct {
         name: []const u8,
     },
-    EXPRESSION: struct {
+    EXPRESSION: union(enum) {
         ADDITIVE_EXPRESSION: struct {
             expression: *Node,
         },