cleanup and added requirement for floats to start with 0.2
This commit is contained in:
1 parent
974aa51e2a
commit
dab9c5debe
4 files changed
+6
-17
No files matched your search
@@ -94,7 +94,8 @@ public class Tokenizer implements Iterator<Tokenizer.Token>
|
||||
|
||||
boolean isHex = false;
|
||||
|
||||
if (Character.isDigit(ch) || (ch == decimalSeparator && Character.isDigit(peekNextChar())))
|
||||
if (Character.isDigit(ch)) // || (ch == decimalSeparator && Character.isDigit(peekNextChar())))
|
||||
// decided to no support this notation to favour element access via . operator
|
||||
{
|
||||
if (ch == '0' && (peekNextChar() == 'x' || peekNextChar() == 'X'))
|
||||
isHex = true;
|
||||
|
||||
Reference in new issue
Block a user