summaryrefslogtreecommitdiff
path: root/src/convert.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-14 21:36:42 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-05-14 21:44:00 -0600
commitf4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch)
treeeca9ca6ceca001209fb93c05b52e21031280d18c /src/convert.cc
parent96172669053bbba7263a370f109f70615049a0c6 (diff)
downloadfork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz
fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2
fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip
Switch to using Boost.Format
Diffstat (limited to 'src/convert.cc')
-rw-r--r--src/convert.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/convert.cc b/src/convert.cc
index e8ca241e..f0d8db06 100644
--- a/src/convert.cc
+++ b/src/convert.cc
@@ -119,8 +119,8 @@ value_t convert_command(call_scope_t& args)
formatter.flush();
}
catch (const std::exception&) {
- add_error_context(_("While parsing file %1")
- << file_context(reader.get_pathname(),
+ add_error_context(_f("While parsing file %1%")
+ % file_context(reader.get_pathname(),
reader.get_linenum()));
add_error_context(_("While parsing CSV line:"));
add_error_context(line_context(reader.get_last_line()));