diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:36:42 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-14 21:44:00 -0600 |
commit | f4f3058b8cd75c04080f9b68cb54b9584eafb39f (patch) | |
tree | eca9ca6ceca001209fb93c05b52e21031280d18c /src/expr.cc | |
parent | 96172669053bbba7263a370f109f70615049a0c6 (diff) | |
download | fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.gz fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.tar.bz2 fork-ledger-f4f3058b8cd75c04080f9b68cb54b9584eafb39f.zip |
Switch to using Boost.Format
Diffstat (limited to 'src/expr.cc')
-rw-r--r-- | src/expr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.cc b/src/expr.cc index 25967207..dbe860bf 100644 --- a/src/expr.cc +++ b/src/expr.cc @@ -306,8 +306,8 @@ value_t source_command(call_scope_t& args) expr_t(p).calc(file_locals); } catch (const std::exception&) { - add_error_context(_("While parsing value expression on line %1:") - << linenum); + add_error_context(_f("While parsing value expression on line %1%:") + % linenum); add_error_context(source_context(pathname, pos, in->tellg(), "> ")); } } |