fixed problem with var...probably a conversion problem for fixed in size capabilities

adding fixed type tests

Removing bitshift and regrouping fixed type tests together
This commit is contained in:
RJ Catalano
2016-05-09 11:41:02 -05:00
committed by VoR0220
parent dff1a26f55
commit 91fda50922
3 changed files with 73 additions and 5 deletions
+2 -2
View File
@@ -153,9 +153,9 @@ tuple<Token::Value, unsigned int, unsigned int> Token::fromIdentifierOrKeyword(s
positionM < positionX &&
positionX < _literal.end() &&
*positionX == 'x' &&
all_of(positionX++, _literal.end(), ::isdigit)
all_of(++positionX, _literal.end(), ::isdigit)
) {
int n = parseSize(positionX + 1, _literal.end());
int n = parseSize(positionX, _literal.end());
if (
0 <= m && m <= 256 &&
0 <= n && n <= 256 &&