diff options
author | Christian <c@ethdev.com> | 2014-10-24 22:47:10 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-24 22:47:10 +0800 |
commit | 33babb0c6fab4ea6851720a633ad847793208b1a (patch) | |
tree | afda2073b82e2a3daa5e2c3ae26ca1d41df6658b /ASTPrinter.cpp | |
parent | f8038792cab8ed7ffb75b12d01cbe8f5a93555fc (diff) | |
download | dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar.gz dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar.bz2 dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar.lz dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar.xz dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.tar.zst dexon-solidity-33babb0c6fab4ea6851720a633ad847793208b1a.zip |
Use endl instead of "\n".
Diffstat (limited to 'ASTPrinter.cpp')
-rw-r--r-- | ASTPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ASTPrinter.cpp b/ASTPrinter.cpp index 6d782f27..e79146d0 100644 --- a/ASTPrinter.cpp +++ b/ASTPrinter.cpp @@ -406,7 +406,7 @@ void ASTPrinter::printSourcePart(ASTNode const& _node) { Location const& location(_node.getLocation()); *m_ostream << getIndentation() << " Source: |" - << m_source.substr(location.start, location.end - location.start) << "|\n"; + << m_source.substr(location.start, location.end - location.start) << "|" << std::endl; } } @@ -417,7 +417,7 @@ std::string ASTPrinter::getIndentation() const void ASTPrinter::writeLine(std::string const& _line) { - *m_ostream << getIndentation() << _line << '\n'; + *m_ostream << getIndentation() << _line << std::endl; } } |