aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-05 01:01:23 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-05 19:08:43 +0800
commit665edd3f8648e227dfe196a60162a7ff8e16f45c (patch)
tree7be7847259188a9a8c5a7fb1f2187f266c7ccacf /CommandLineInterface.cpp
parentd4e2e60ceb98962c93067ef4a93409ca5857eb5b (diff)
downloaddexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar.gz
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar.bz2
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar.lz
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar.xz
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.tar.zst
dexon-solidity-665edd3f8648e227dfe196a60162a7ff8e16f45c.zip
added source code printing for each output line.
some changes after pr review
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r--CommandLineInterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index db12231a..08acb5eb 100644
--- a/CommandLineInterface.cpp
+++ b/CommandLineInterface.cpp
@@ -424,13 +424,13 @@ void CommandLineInterface::actOnInput()
if (outputToStdout(choice))
{
cout << "EVM assembly:" << endl;
- m_compiler->streamAssembly(cout, contract);
+ m_compiler->streamAssembly(cout, contract, m_sourceCodes);
}
if (outputToFile(choice))
{
ofstream outFile(contract + ".evm");
- m_compiler->streamAssembly(outFile, contract);
+ m_compiler->streamAssembly(outFile, contract, m_sourceCodes);
outFile.close();
}
}