From f1d5716b95e770b53a43a5794782a34c78f0ae9f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 8 Mar 2006 22:13:37 +0000 Subject: *** empty log message *** --- textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textual.cc b/textual.cc index 35489a79..cd0b9b28 100644 --- a/textual.cc +++ b/textual.cc @@ -822,7 +822,7 @@ unsigned int textual_parser_t::parse(std::istream& in, err->context.push_front(new file_context(path, linenum - 1)); std::cout.flush(); - if (errors > 0) + if (errors > 0 && err->context.size() > 1) std::cerr << std::endl; err->reveal_context(std::cerr, "Error"); std::cerr << err->what() << std::endl; -- cgit v1.2.3