mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Uniform error messages
This commit is contained in:
@@ -324,10 +324,11 @@ assembly::Statement Parser::parseCall(assembly::Statement&& _instruction)
|
||||
/// check for premature closing parentheses
|
||||
if (m_scanner->currentToken() == Token::RParen)
|
||||
fatalParserError(string(
|
||||
"Expected " +
|
||||
"Expected expression (" +
|
||||
instrInfo.name +
|
||||
" expects " +
|
||||
boost::lexical_cast<string>(args) +
|
||||
" arguments, but received " +
|
||||
boost::lexical_cast<string>(i)
|
||||
" arguments)"
|
||||
));
|
||||
|
||||
ret.arguments.emplace_back(parseExpression());
|
||||
|
||||
Reference in New Issue
Block a user