From 67a45a0e3cdb92ead1214740281f6f39407ad846 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 3 Mar 2009 14:42:46 -0400 Subject: Made error reporting while parsing more resilient --- src/token.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/token.cc') diff --git a/src/token.cc b/src/token.cc index 0a8fce7e..11fda7d7 100644 --- a/src/token.cc +++ b/src/token.cc @@ -451,7 +451,7 @@ void expr_t::token_t::unexpected() case VALUE: throw_(parse_error, _("Unexpected value '%1'") << value); default: - throw_(parse_error, _("Unexpected operator '%1'") << symbol); + throw_(parse_error, _("Unexpected token '%1'") << symbol); } } -- cgit v1.2.3