aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-15 19:28:49 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-17 23:41:50 +0800
commit8e04b27252abf101a2899b5729fe012c159dab80 (patch)
tree2389a15537da719e75cc84151f5674a84b6bcf42
parent104c5bca078ba31a128e298efb48f1349efaae08 (diff)
downloaddexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar.gz
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar.bz2
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar.lz
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar.xz
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.tar.zst
dexon-solidity-8e04b27252abf101a2899b5729fe012c159dab80.zip
fixed extension of file json format
changed value for PUSH to hex
-rw-r--r--CommandLineInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index cb924d9b..18201570 100644
--- a/CommandLineInterface.cpp
+++ b/CommandLineInterface.cpp
@@ -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();
}