Throw on hex floats
This commit is contained in:
parent
501bc9eed6
commit
e89625c2e9
@ -958,6 +958,10 @@ class Tokenizer
|
|||||||
AppendDataIntHex(ch);
|
AppendDataIntHex(ch);
|
||||||
state = State.HexNumber;
|
state = State.HexNumber;
|
||||||
}
|
}
|
||||||
|
else if(ch == '.')
|
||||||
|
{
|
||||||
|
throw new NotImplementedException($"{currentLocation}: Hex floats at are not implemented");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(currentToken == null || currentToken.type == null)
|
if(currentToken == null || currentToken.type == null)
|
||||||
@ -986,6 +990,10 @@ class Tokenizer
|
|||||||
currentToken!.type = TokenType.Numeral;
|
currentToken!.type = TokenType.Numeral;
|
||||||
AppendDataIntHex(ch);
|
AppendDataIntHex(ch);
|
||||||
}
|
}
|
||||||
|
else if(ch == '.')
|
||||||
|
{
|
||||||
|
throw new NotImplementedException($"{currentLocation}: Hex floats at are not implemented");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(currentToken == null || currentToken.type == null)
|
if(currentToken == null || currentToken.type == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user