From 174c46d5afd8be4e6b23804bbdd8245d5a78cc0e Mon Sep 17 00:00:00 2001 From: Anthony Broad-Crawford Date: Fri, 2 Mar 2018 15:30:03 -0600 Subject: Improved messaging when an error spans multiple lines and updated change log file. --- libsolidity/interface/SourceReferenceFormatter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsolidity') 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) -- cgit v1.2.3