Throw on hex floats

This commit is contained in:
0x4261756D 2024-03-19 20:26:24 +01:00
parent 501bc9eed6
commit e89625c2e9
1 changed files with 8 additions and 0 deletions

View File

@ -958,6 +958,10 @@ class Tokenizer
AppendDataIntHex(ch);
state = State.HexNumber;
}
else if(ch == '.')
{
throw new NotImplementedException($"{currentLocation}: Hex floats at are not implemented");
}
else
{
if(currentToken == null || currentToken.type == null)
@ -986,6 +990,10 @@ class Tokenizer
currentToken!.type = TokenType.Numeral;
AppendDataIntHex(ch);
}
else if(ch == '.')
{
throw new NotImplementedException($"{currentLocation}: Hex floats at are not implemented");
}
else
{
if(currentToken == null || currentToken.type == null)