summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/token.cc')
-rw-r--r--src/token.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.cc b/src/token.cc
index add97b8b..905e13fe 100644
--- a/src/token.cc
+++ b/src/token.cc
@@ -476,7 +476,7 @@ void expr_t::token_t::unexpected(const char wanted)
switch (prev_kind) {
case TOK_EOF:
throw_(parse_error,
- _("Unexpected end of expression (wanted '%1')" << wanted));
+ _("Unexpected end of expression (wanted '%1')") << wanted);
case IDENT:
throw_(parse_error,
_("Unexpected symbol '%1' (wanted '%2')") << value << wanted);