diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-03-05 01:01:23 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-05 19:08:43 +0800 |
commit | 665edd3f8648e227dfe196a60162a7ff8e16f45c (patch) | |
tree | 7be7847259188a9a8c5a7fb1f2187f266c7ccacf | |
parent | d4e2e60ceb98962c93067ef4a93409ca5857eb5b (diff) | |
download | dexon-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
-rw-r--r-- | CommandLineInterface.cpp | 4 |
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(); } } |