mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CommandLineParser: Process linker mode before assembly mode
This commit is contained in:
parent
8fafdeacac
commit
b7c124911a
@ -948,6 +948,9 @@ General Information)").c_str(),
|
||||
if (!parseLibraryOption(library))
|
||||
return false;
|
||||
|
||||
if (m_options.input.mode == InputMode::Linker)
|
||||
return true;
|
||||
|
||||
if (m_args.count(g_strEVMVersion))
|
||||
{
|
||||
string versionOptionStr = m_args[g_strEVMVersion].as<string>();
|
||||
@ -1078,9 +1081,6 @@ General Information)").c_str(),
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_options.input.mode == InputMode::Linker)
|
||||
return true;
|
||||
|
||||
if (m_args.count(g_strMetadataHash))
|
||||
{
|
||||
string hashStr = m_args[g_strMetadataHash].as<string>();
|
||||
|
Loading…
Reference in New Issue
Block a user