Allow warnings for inline assembly block

This commit is contained in:
Alex Beregszaszi
2016-10-20 13:25:28 +01:00
parent c3330faf21
commit 0e33b63468
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
}