about summary refs log tree commit diff
path: root/src/parser.zig
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-01-30 00:44:40 +0100
committerBaitinq <[email protected]>2025-01-30 00:44:40 +0100
commit43bd11bd44fedb6056609a3b95bd17ecf0ad21a4 (patch)
tree633f065a23594f63e8d6ba06c68a409729034f87 /src/parser.zig
parentCodegen: Get function declaration/calling kind of working (diff)
downloadinterpreter-43bd11bd44fedb6056609a3b95bd17ecf0ad21a4.tar.gz
interpreter-43bd11bd44fedb6056609a3b95bd17ecf0ad21a4.tar.bz2
interpreter-43bd11bd44fedb6056609a3b95bd17ecf0ad21a4.zip
Codegen: Support function calls in return statement
Diffstat (limited to 'src/parser.zig')
-rw-r--r--src/parser.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/parser.zig b/src/parser.zig
index 3f77b19..c5eb623 100644
--- a/src/parser.zig
+++ b/src/parser.zig
@@ -58,9 +58,6 @@ pub const Node = union(enum) {
         IDENTIFIER: struct {
             name: []const u8,
         },
-        FUNCTION_CALL: struct {
-            name: []const u8,
-        },
     },
     FUNCTION_DEFINITION: struct {
         statements: []*Node,