Remove unnecessary setting of currentToken

This commit is contained in:
0x4261756D 2024-03-19 20:23:08 +01:00
parent ef333f7d93
commit f310882220
1 changed files with 0 additions and 2 deletions

View File

@ -358,14 +358,12 @@ class Tokenizer
break;
case '"':
{
currentToken = null;
state = State.Quote;
currentToken = new(region: new(start: new(currentLocation), end: new(currentLocation)), type: TokenType.StringLiteral);
}
break;
case '\'':
{
currentToken = null;
state = State.SingleQuote;
currentToken = new(region: new(start: new(currentLocation), end: new(currentLocation)), type: TokenType.StringLiteral);
}