Implements parsing function declarations
This commit is contained in:
@@ -56,6 +56,8 @@ IToken* Lexer::LexNext(char c){
|
||||
return new SimpleToken(TokenKind::OpenParenthesis, this -> Position - 1, 1);
|
||||
case ')':
|
||||
return new SimpleToken(TokenKind::CloseParenthesis, this -> Position - 1, 1);
|
||||
case ',':
|
||||
return new SimpleToken(TokenKind::CommaToken, this -> Position - 1, 1);
|
||||
case '=':
|
||||
if (Lexer::Peek() == '='){
|
||||
Lexer::Next();
|
||||
|
||||
Reference in New Issue
Block a user