mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not fail if parsing failed in StandardCompiler
This commit is contained in:
parent
3cd02ca148
commit
43eb839871
@ -337,7 +337,7 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Json::Value contractsOutput = Json::objectValue;
|
Json::Value contractsOutput = Json::objectValue;
|
||||||
for (string const& contractName: m_compilerStack.contractNames())
|
for (string const& contractName: success ? m_compilerStack.contractNames() : vector<string>())
|
||||||
{
|
{
|
||||||
size_t colon = contractName.find(':');
|
size_t colon = contractName.find(':');
|
||||||
solAssert(colon != string::npos, "");
|
solAssert(colon != string::npos, "");
|
||||||
|
Loading…
Reference in New Issue
Block a user