diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-02 18:31:55 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-02 18:31:55 +0800 |
commit | 934a5dbf5382166a49a267bbd1a91782aaa0ecd0 (patch) | |
tree | 5255f6a622a9a30b03054fc30663c327b9a27f1a | |
parent | 7553beb6a60e757d392ec9a078b07796a38b3a8e (diff) | |
download | dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar.gz dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar.bz2 dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar.lz dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar.xz dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.tar.zst dexon-solidity-934a5dbf5382166a49a267bbd1a91782aaa0ecd0.zip |
Consistent format for secondary location in sourceformatter
-rw-r--r-- | libsolidity/interface/SourceReferenceFormatter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libsolidity/interface/SourceReferenceFormatter.cpp b/libsolidity/interface/SourceReferenceFormatter.cpp index a0ec4101..62d22999 100644 --- a/libsolidity/interface/SourceReferenceFormatter.cpp +++ b/libsolidity/interface/SourceReferenceFormatter.cpp @@ -110,9 +110,8 @@ void SourceReferenceFormatter::printExceptionInformation( { for (auto info: secondarylocation->infos) { - _stream << info.first << " "; printSourceName(_stream, &info.second, _scannerFromSourceName); - _stream << endl; + _stream << info.first << endl; printSourceLocation(_stream, &info.second, _scannerFromSourceName); } _stream << endl; |