summary refs log tree commit diff
path: root/src/tokenizer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer.zig')
-rw-r--r--src/tokenizer.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tokenizer.zig b/src/tokenizer.zig
index b5634a2..c673f20 100644
--- a/src/tokenizer.zig
+++ b/src/tokenizer.zig
@@ -7,7 +7,6 @@ const TokenizerError = error{
 pub const TokenType = enum {
     // Keywords
     LET,
-    PRINT,
     RETURN,
     ARROW,
 
@@ -32,7 +31,6 @@ pub const TokenType = enum {
 
 pub const Token = union(TokenType) {
     LET: void,
-    PRINT: void,
     RETURN: void,
     ARROW: void,
     IDENTIFIER: []u8,
@@ -78,7 +76,6 @@ pub const Tokenizer = struct {
         if (string.len == 0) return TokenizerError.TokenizingError;
 
         if (std.mem.eql(u8, string, "let")) return Token{ .LET = void{} };
-        if (std.mem.eql(u8, string, "print")) return Token{ .PRINT = void{} };
         if (std.mem.eql(u8, string, "return")) return Token{ .RETURN = void{} };
 
         if (std.fmt.parseInt(i32, string, 10) catch null) |i| return Token{ .NUMBER = i };