mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Provide formal version in json output.
This commit is contained in:
1 parent
417fde3eab
commit
9a9a815fc9
3 files changed
+22
-3
No files matched your search
@@ -253,9 +253,11 @@ void CompilerStack::link(const std::map<string, h160>& _libraries)
|
||||
}
|
||||
}
|
||||
|
||||
bool CompilerStack::prepareFormalAnalysis()
|
||||
bool CompilerStack::prepareFormalAnalysis(ErrorList* _errors)
|
||||
{
|
||||
Why3Translator translator(m_errors);
|
||||
if (!_errors)
|
||||
_errors = &m_errors;
|
||||
Why3Translator translator(*_errors);
|
||||
for (Source const* source: m_sourceOrder)
|
||||
if (!translator.process(*source->ast))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user