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