Support for length unary operator
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -103,6 +103,8 @@ namespace Porygon::Parser {
|
||||
}
|
||||
this->ScriptData->Diagnostics->LogError(Diagnostics::DiagnosticCode::UnexpectedCharacter, this->_position - 1, 1);
|
||||
return new SimpleToken(TokenKind::BadToken, this->_position - 1, 1);
|
||||
case '#':
|
||||
return new SimpleToken(TokenKind::HashToken, this->_position - 1, 1);
|
||||
case '0':
|
||||
case '1':
|
||||
case '2':
|
||||
|
||||
Reference in New Issue
Block a user