summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 22:09:27 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 22:09:27 -0400
commit7128fdb6373c901c9c68e2d8ddac911891466c40 (patch)
treedb68312821d34e5015ae651fd470ca7daf27c526 /src/format.cc
parent38c1b0feb05f8e0ffa42d72240c3e550c6be1c19 (diff)
downloadfork-ledger-7128fdb6373c901c9c68e2d8ddac911891466c40.tar.gz
fork-ledger-7128fdb6373c901c9c68e2d8ddac911891466c40.tar.bz2
fork-ledger-7128fdb6373c901c9c68e2d8ddac911891466c40.zip
Added a missing throw() in the formatter.
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format.cc b/src/format.cc
index c9ced082..79ec2c0c 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -299,6 +299,7 @@ void format_t::format(std::ostream& out_str, scope_t& scope)
}
catch (const calc_error&) {
out << (string("%") + elem->chars);
+ throw;
}
break;