diff options
author | Anthony Broad-Crawford <abc@abc.local> | 2018-03-03 05:30:03 +0800 |
---|---|---|
committer | Anthony Broad-Crawford <abc@abc.local> | 2018-03-06 04:14:14 +0800 |
commit | 174c46d5afd8be4e6b23804bbdd8245d5a78cc0e (patch) | |
tree | 5da66a90080a34a7a280abcd782d81404b35a4de /libsolidity/interface/SourceReferenceFormatter.cpp | |
parent | 7e2f3d3e0727cf6ef8779abd3cf6e00e5332f1ef (diff) | |
download | dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar.gz dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar.bz2 dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar.lz dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar.xz dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.tar.zst dexon-solidity-174c46d5afd8be4e6b23804bbdd8245d5a78cc0e.zip |
Improved messaging when an error spans multiple lines and updated change log file.
Diffstat (limited to 'libsolidity/interface/SourceReferenceFormatter.cpp')
-rw-r--r-- | libsolidity/interface/SourceReferenceFormatter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/SourceReferenceFormatter.cpp b/libsolidity/interface/SourceReferenceFormatter.cpp index 9d02c498..0f014372 100644 --- a/libsolidity/interface/SourceReferenceFormatter.cpp +++ b/libsolidity/interface/SourceReferenceFormatter.cpp @@ -79,8 +79,8 @@ void SourceReferenceFormatter::printSourceLocation(SourceLocation const* _locati scanner.lineAtPosition(_location->start) << endl << string(startColumn, ' ') << - "^\n" << - "Spanning multiple lines.\n"; + "^ (Relevant source part starts here and spans across multiple lines)." << + endl; } void SourceReferenceFormatter::printSourceName(SourceLocation const* _location) |