diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-02 15:16:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-02 15:16:18 -0400 |
commit | cf9b4a38739426e4993fac49798ebe7dcfa11d62 (patch) | |
tree | dfd7e8afc40eaf6cf829026709771f5e32e62740 /src/error.cc | |
parent | b18214372e42f84cd3c3b4ecfce8bb0295e6f9ca (diff) | |
download | fork-ledger-cf9b4a38739426e4993fac49798ebe7dcfa11d62.tar.gz fork-ledger-cf9b4a38739426e4993fac49798ebe7dcfa11d62.tar.bz2 fork-ledger-cf9b4a38739426e4993fac49798ebe7dcfa11d62.zip |
Removed report_error() function and reordered context for parsing errors.
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 6 |
1 files changed, 0 insertions, 6 deletions
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 |