Make hex numeral 'x' case-insensitive
This commit is contained in:
parent
6512439ce3
commit
83b0416c03
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user