summaryrefslogtreecommitdiff
path: root/src/token.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-03 14:42:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-03 14:42:46 -0400
commit67a45a0e3cdb92ead1214740281f6f39407ad846 (patch)
treeff86d22de29f1cbbb3f48864817d5614472618b3 /src/token.cc
parentba9efa3ab906b4fd21f1e982baaa3e6e0019115b (diff)
downloadfork-ledger-67a45a0e3cdb92ead1214740281f6f39407ad846.tar.gz
fork-ledger-67a45a0e3cdb92ead1214740281f6f39407ad846.tar.bz2
fork-ledger-67a45a0e3cdb92ead1214740281f6f39407ad846.zip
Made error reporting while parsing more resilient
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 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);
}
}