diff options
author | chriseth <chris@ethereum.org> | 2017-12-30 20:45:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-05 22:06:04 +0800 |
commit | 5b1c0506faf865d5ff056bec8094211f0fa90600 (patch) | |
tree | c6443295361dac6428e7a70a76e283c040b1226a /libsolidity/parsing | |
parent | 95b0589f7739ebfd0c1c9cde8a07332cba039296 (diff) | |
download | dexon-solidity-5b1c0506faf865d5ff056bec8094211f0fa90600.tar.gz dexon-solidity-5b1c0506faf865d5ff056bec8094211f0fa90600.tar.zst dexon-solidity-5b1c0506faf865d5ff056bec8094211f0fa90600.zip |
Allow ``memory`` suffix for internal elementary type parsing.
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r-- | libsolidity/parsing/Token.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Token.cpp b/libsolidity/parsing/Token.cpp index 9cec0303..5ce74316 100644 --- a/libsolidity/parsing/Token.cpp +++ b/libsolidity/parsing/Token.cpp @@ -53,7 +53,7 @@ namespace solidity void ElementaryTypeNameToken::assertDetails(Token::Value _baseType, unsigned const& _first, unsigned const& _second) { - solAssert(Token::isElementaryTypeName(_baseType), ""); + solAssert(Token::isElementaryTypeName(_baseType), "Expected elementary type name: " + string(Token::toString(_baseType))); if (_baseType == Token::BytesM) { solAssert(_second == 0, "There should not be a second size argument to type bytesM."); |