From 6983e6a38a6d06fd82667301940c976d56cb7ed1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 31 Jan 2009 01:21:24 -0400 Subject: Fixed error context output. --- src/textual.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 55e13445..527d49af 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -198,8 +198,8 @@ void textual_parser_t::instance_t::parse() << file_context(instance->pathname, instance->linenum - 1) << "':"); } - add_error_context("While parsing file '" - << file_context(pathname, linenum - 1) << "':"); + add_error_context("While parsing file " + << file_context(pathname, linenum - 1) << "\n"); std::cout.flush(); std::cerr << ledger::error_context() -- cgit v1.2.3