aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-02 18:31:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-02 18:31:17 +0800
commit7553beb6a60e757d392ec9a078b07796a38b3a8e (patch)
tree0f2d29f5a2a61a3dc538ddfcbbb7c241f16cd801
parent3aacfc7e3569b27ca97dce41d886bbc3043546e0 (diff)
downloaddexon-solidity-7553beb6a60e757d392ec9a078b07796a38b3a8e.tar.gz
dexon-solidity-7553beb6a60e757d392ec9a078b07796a38b3a8e.tar.zst
dexon-solidity-7553beb6a60e757d392ec9a078b07796a38b3a8e.zip
Consistent new line in sourceformatter
-rw-r--r--libsolidity/interface/SourceReferenceFormatter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/interface/SourceReferenceFormatter.cpp b/libsolidity/interface/SourceReferenceFormatter.cpp
index 7730a99a..a0ec4101 100644
--- a/libsolidity/interface/SourceReferenceFormatter.cpp
+++ b/libsolidity/interface/SourceReferenceFormatter.cpp
@@ -101,6 +101,8 @@ void SourceReferenceFormatter::printExceptionInformation(
_stream << _name;
if (string const* description = boost::get_error_info<errinfo_comment>(_exception))
_stream << ": " << *description << endl;
+ else
+ _stream << endl;
printSourceLocation(_stream, location, _scannerFromSourceName);