Make hex numeral 'x' case-insensitive

This commit is contained in:
0x4261756D 2024-02-21 16:00:41 +01:00
parent 6512439ce3
commit 83b0416c03

View File

@ -701,7 +701,7 @@ class Tokenizer
break; break;
case State.Zero: case State.Zero:
{ {
if(ch == 'x') if(ch is 'x' or 'X')
{ {
currentToken!.type = null; currentToken!.type = null;
state = State.HexNumberX; state = State.HexNumberX;