diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-22 21:17:11 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-22 21:17:16 -0400 |
commit | c2761f4e90f9cba44b8281af0f4d90e58625f263 (patch) | |
tree | 342fc64951acf9f74bbd20041175660f0f8d372f /src/textual.cc | |
parent | 6fbf5c551e097acda6f0f08431d190bc4720b740 (diff) | |
download | ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.tar.gz ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.tar.bz2 ledger-c2761f4e90f9cba44b8281af0f4d90e58625f263.zip |
Moved the occurance of "Error:" when reporting context.
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textual.cc b/src/textual.cc index 73e4ba9b..e1a08f69 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1012,8 +1012,8 @@ unsigned int textual_parser_t::parse(std::istream& in, add_error_context(file_context(pathname, linenum - 1)); std::cout.flush(); - std::cerr << "Error: " << error_context() << err.what() - << std::endl; + std::cerr << ledger::error_context() + << "Error: " << err.what() << std::endl; errors++; } beg_pos = end_pos; |