diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-07-29 15:03:26 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-07-29 15:03:26 +0200 |
commit | 15984567e8187f529fbe649109ef83bba309a2d8 (patch) | |
tree | 9b7882f873eaf0a8c968fc34c925002cb2182964 /src/Lexer.zig | |
parent | 0fa2f445eb7140214471074fc544adfd0f8a524f (diff) | |
download | huginn-15984567e8187f529fbe649109ef83bba309a2d8.tar.gz |
continue continuing procedure calls
Diffstat (limited to 'src/Lexer.zig')
-rw-r--r-- | src/Lexer.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Lexer.zig b/src/Lexer.zig index 87ced92..4a4d895 100644 --- a/src/Lexer.zig +++ b/src/Lexer.zig @@ -21,6 +21,7 @@ pub const Token = struct { right_angle, left_angle_equal, right_angle_equal, + comma, // Keywords @"if", @@ -86,6 +87,7 @@ fn getNext(self: *Self) Token { '-' => self.create(.minus), '=' => self.create(.equal), ':' => self.create(.colon), + ',' => self.create(.comma), '<' => if (self.eatIfEqual('=')) self.create(.left_angle_equal) else |