diff options
author | RJ Catalano <catalanor0220@gmail.com> | 2015-12-17 07:26:41 +0800 |
---|---|---|
committer | RJ Catalano <catalanor0220@gmail.com> | 2015-12-17 07:26:41 +0800 |
commit | ed1dd50acda058a9c0c5b9c43776fba3642e23e2 (patch) | |
tree | f00e1a47c786cc4eaae63c8860a8652e22030779 /libsolidity/parsing | |
parent | 905d55e34f85184d0e549b4b2708eb80b933fa8b (diff) | |
download | dexon-solidity-ed1dd50acda058a9c0c5b9c43776fba3642e23e2.tar.gz dexon-solidity-ed1dd50acda058a9c0c5b9c43776fba3642e23e2.tar.zst dexon-solidity-ed1dd50acda058a9c0c5b9c43776fba3642e23e2.zip |
changed error message
Diffstat (limited to 'libsolidity/parsing')
-rw-r--r-- | libsolidity/parsing/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp index c7b2bb50..caf38b1d 100644 --- a/libsolidity/parsing/Parser.cpp +++ b/libsolidity/parsing/Parser.cpp @@ -1051,7 +1051,7 @@ ASTPointer<Expression> Parser::parsePrimaryExpression() if (m_scanner->currentToken() != Token::Comma && m_scanner->currentToken() != oppositeToken) components.push_back(parseExpression()); else if (isArray) - parserError(std::string("Expected value in array cell after")); + parserError("Expected expression (inline array elements cannot be omitted)."); else components.push_back(ASTPointer<Expression>()); if (m_scanner->currentToken() == oppositeToken) |