diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 00:41:12 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | b8cede371dc5b7d5c40188dbb65eff293d7dd6ff (patch) | |
tree | eb0a3057c8b56be4801e195cd7839ab18183b0e6 /Types.cpp | |
parent | cd3e8c175645e9a6a81b5b719868b1f74a528c65 (diff) | |
download | dexon-solidity-b8cede371dc5b7d5c40188dbb65eff293d7dd6ff.tar.gz dexon-solidity-b8cede371dc5b7d5c40188dbb65eff293d7dd6ff.tar.zst dexon-solidity-b8cede371dc5b7d5c40188dbb65eff293d7dd6ff.zip |
byte is now an alias for byte1
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,8 @@ TypePointer Type::fromElementaryTypeName(Token::Value _typeToken) return TypePointer(); } } + else if (_typeToken == Token::Byte) + return make_shared<FixedBytesType>(1); else if (_typeToken == Token::Address) return make_shared<IntegerType>(0, IntegerType::Modifier::Address); else if (_typeToken == Token::Bool) |