fix for token bug, also quick fix for the wei and seconds

This commit is contained in:
RJ Catalano
2016-05-09 11:41:02 -05:00
committed by VoR0220
parent 6fa5e0fac9
commit dff1a26f55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ tuple<Token::Value, unsigned int, unsigned int> Token::fromIdentifierOrKeyword(s
positionM < positionX &&
positionX < _literal.end() &&
*positionX == 'x' &&
all_of(positionX + 1, _literal.end(), ::isdigit)
all_of(positionX++, _literal.end(), ::isdigit)
) {
int n = parseSize(positionX + 1, _literal.end());
if (