fix code format problems

This commit is contained in:
liangdzou
2018-09-19 00:18:49 +08:00
parent c42dfc5b10
commit 24e5dcc352
5 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ std::string dev::lll::compileLLLToAsm(std::string const& _src, EVMVersion _evmVe
}
catch (std::exception const& _e)
{
if (_errors) {
if (_errors)
{
_errors->push_back("Parse exception.");
_errors->push_back(boost::diagnostic_information(_e));
}
+2 -1
View File
@@ -148,7 +148,8 @@ void dev::lll::parseTreeLLL(string const& _s, sp::utree& o_out)
BOOST_THROW_EXCEPTION(ParserException() << errinfo_comment(reason));
}
for (auto i = ret; i != s.cend(); ++i)
if (!isspace(*i)) {
if (!isspace(*i))
{
BOOST_THROW_EXCEPTION(ParserException() << errinfo_comment("Non-whitespace left in parser"));
}
}