mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
updated algorithm for bit finding...now to figure out literal value
tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value
This commit is contained in:
@@ -158,7 +158,7 @@ tuple<Token::Value, unsigned int, unsigned int> Token::fromIdentifierOrKeyword(s
|
||||
int n = parseSize(positionX + 1, _literal.end());
|
||||
if (
|
||||
0 <= m && m <= 256 &&
|
||||
0 <= n && n <= 256 &&
|
||||
8 <= n && n <= 256 &&
|
||||
m + n > 0 &&
|
||||
m + n <= 256 &&
|
||||
m % 8 == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user