mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow warnings for inline assembly block
This commit is contained in:
@@ -51,7 +51,7 @@ bool successParse(std::string const& _source, bool _assemble = false)
|
||||
if (_assemble)
|
||||
{
|
||||
stack.assemble();
|
||||
if (!stack.errors().empty())
|
||||
if (!stack.errors().empty() && !Error::containsOnlyWarnings(stack.errors()))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user