Fix '&' being parsed as '='
This commit is contained in:
parent
424f381755
commit
eaba371455
@ -211,7 +211,7 @@ class Tokenizer
|
|||||||
{
|
{
|
||||||
lastIndex = index;
|
lastIndex = index;
|
||||||
state = State.Ampersand;
|
state = State.Ampersand;
|
||||||
currentToken = new(region: new(start: new(currentLocation), end: new(currentLocation)), type: TokenType.Equals);
|
currentToken = new(region: new(start: new(currentLocation), end: new(currentLocation)), type: TokenType.Ampersand);
|
||||||
} /* tokenizeTerminalBase(TokenType.Ampersand, TokenizerState.Ampersand); */
|
} /* tokenizeTerminalBase(TokenType.Ampersand, TokenizerState.Ampersand); */
|
||||||
break;
|
break;
|
||||||
case '%':
|
case '%':
|
||||||
|
Reference in New Issue
Block a user