mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge remote-tracking branch 'origin/develop' into breaking
This commit is contained in:
@@ -91,6 +91,9 @@ namespace solidity::frontend
|
||||
|
||||
bool g_hasOutput = false;
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
std::ostream& sout()
|
||||
{
|
||||
g_hasOutput = true;
|
||||
@@ -104,6 +107,8 @@ std::ostream& serr(bool _used = true)
|
||||
return cerr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#define cout
|
||||
#define cerr
|
||||
|
||||
@@ -326,6 +331,9 @@ static bool needsHumanTargetedStdout(po::variables_map const& _args)
|
||||
return false;
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
bool checkMutuallyExclusive(boost::program_options::variables_map const& args, std::string const& _optionA, std::string const& _optionB)
|
||||
{
|
||||
if (args.count(_optionA) && args.count(_optionB))
|
||||
@@ -337,6 +345,8 @@ bool checkMutuallyExclusive(boost::program_options::variables_map const& args, s
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void CommandLineInterface::handleBinary(string const& _contract)
|
||||
{
|
||||
if (m_args.count(g_argBinary))
|
||||
|
||||
Reference in New Issue
Block a user