function arguments are getting added to the AST!

This commit is contained in:
SpookyDervish
2025-10-15 07:16:15 +11:00
parent 049db7c53a
commit 3c24b50a80
8 changed files with 123 additions and 25 deletions

View File

@@ -144,6 +144,8 @@ class Lexer:
tok = self.__new_token(TokenType.SEMICOLON, self.current_char)
case ":":
tok = self.__new_token(TokenType.COLON, self.current_char)
case ",":
tok = self.__new_token(TokenType.COMMA, self.current_char)
case None:
tok = self.__new_token(TokenType.EOF, "")
case _: