diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-03 14:42:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-03 14:42:46 -0400 |
commit | 67a45a0e3cdb92ead1214740281f6f39407ad846 (patch) | |
tree | ff86d22de29f1cbbb3f48864817d5614472618b3 /src/token.cc | |
parent | ba9efa3ab906b4fd21f1e982baaa3e6e0019115b (diff) | |
download | fork-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.cc | 2 |
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); } } |