mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user