diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-04 18:41:15 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | 36fe571576a7e5af91d9f95ff0a2252394720a34 (patch) | |
tree | f98e2f626135c3c3d2d3d845c05e28debbffe536 /Types.cpp | |
parent | 51258f300209a563cc5d1739504c1e87537ddff6 (diff) | |
download | dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar.gz dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar.bz2 dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar.lz dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar.xz dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.tar.zst dexon-solidity-36fe571576a7e5af91d9f95ff0a2252394720a34.zip |
start of cleanup
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ TypePointer Type::fromElementaryTypeName(Token::Value _typeToken) { solAssert(Token::isElementaryTypeName(_typeToken), "Elementary type name expected."); - if (Token::Int <= _typeToken && _typeToken <= Token::Hash256) + if (Token::Int <= _typeToken && _typeToken <= Token::Bytes256) { int offset = _typeToken - Token::Int; int bytes = offset % 33; |