function arguments are getting added to the AST!
This commit is contained in:
2
lexer.py
2
lexer.py
@@ -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 _:
|
||||
|
||||
Reference in New Issue
Block a user