summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc4
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;