mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed extension of file json format
changed value for PUSH to hex
This commit is contained in:
parent
104c5bca07
commit
8e04b27252
@ -430,7 +430,7 @@ void CommandLineInterface::actOnInput()
|
||||
|
||||
if (outputToFile(choice))
|
||||
{
|
||||
ofstream outFile(contract + ".evm");
|
||||
ofstream outFile(contract + (m_args.count(g_argAsmJsonStr) ? "_evm.json" : ".evm"));
|
||||
m_compiler->streamAssembly(outFile, contract, m_sourceCodes, m_args.count(g_argAsmJsonStr));
|
||||
outFile.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user