summaryrefslogtreecommitdiff
path: root/src/scope.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/scope.cc')
-rw-r--r--src/scope.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.cc b/src/scope.cc
index f4b2dfab..4e3a9ab2 100644
--- a/src/scope.cc
+++ b/src/scope.cc
@@ -47,7 +47,7 @@ void symbol_scope_t::define(const string& name, expr_t::ptr_op_t def)
std::pair<symbol_map::iterator, bool> result2
= symbols.insert(symbol_map::value_type(name, def));
if (! result2.second)
- throw_(compile_error, "Redefinition of '" << name << "' in same scope");
+ throw_(compile_error, _("Redefinition of '%1' in same scope") << name);
}
}