diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-20 08:09:57 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2016-10-20 20:25:28 +0800 |
commit | 0e33b6346802581cfcc45195344a705ebd683c1f (patch) | |
tree | 1b8dc38390ade1d1cfec5ee181befe64037de9bf /test/libsolidity | |
parent | c3330faf210ee06464dbc71a7946e069033299ac (diff) | |
download | dexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.tar.gz dexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.tar.zst dexon-solidity-0e33b6346802581cfcc45195344a705ebd683c1f.zip |
Allow warnings for inline assembly block
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index f8655c0c..6c04367f 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -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; } } |