diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-15 02:36:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-15 02:36:50 -0400 |
commit | 50ee03e3f0a44197722e6c3e85d1f60c48403576 (patch) | |
tree | 17e0c914e8493cb8028b5d02b64cf6f6f2b83b5e /src/error.h | |
parent | b73c31c7259ee12bf746f477c9c9919fe72d5394 (diff) | |
download | fork-ledger-50ee03e3f0a44197722e6c3e85d1f60c48403576.tar.gz fork-ledger-50ee03e3f0a44197722e6c3e85d1f60c48403576.tar.bz2 fork-ledger-50ee03e3f0a44197722e6c3e85d1f60c48403576.zip |
Fixed the way that nested caught exceptions are rethrown, and how value
expressions are displayed when errors are found in them.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h index 253bcdbf..cfc8b15b 100644 --- a/src/error.h +++ b/src/error.h @@ -65,7 +65,7 @@ inline string file_context(const path& file, std::size_t line) { inline string line_context(const string& line, istream_pos_type pos) { std::ostringstream buf; - buf << " " << line << std::endl << " "; + buf << " " << line << " "; istream_pos_type idx = (pos == istream_pos_type(0) ? istream_pos_type(line.length()) : pos); idx -= 1; |