From cf9b4a38739426e4993fac49798ebe7dcfa11d62 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Feb 2009 15:16:18 -0400 Subject: Removed report_error() function and reordered context for parsing errors. --- src/error.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/error.cc') diff --git a/src/error.cc b/src/error.cc index 8fc8fa53..68a2d844 100644 --- a/src/error.cc +++ b/src/error.cc @@ -75,10 +75,4 @@ string line_context(const string& line, return buf.str(); } -void report_error(const std::exception& err) -{ - std::cerr << error_context() << std::endl - << "Error: " << err.what() << std::endl; -} - } // namespace ledger -- cgit v1.2.3