diff options
author | John Wiegley <johnw@newartisans.com> | 2004-07-29 01:56:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-07-29 01:56:53 -0400 |
commit | a2f805ef73010de7f136eba5682a909cdae3e09b (patch) | |
tree | 8db89762249e833a3c43d48a70bf7d8a3f802c87 /error.h | |
parent | c598550d50b23f80b3481e831d5a3261b0800e79 (diff) | |
download | ledger-a2f805ef73010de7f136eba5682a909cdae3e09b.tar.gz ledger-a2f805ef73010de7f136eba5682a909cdae3e09b.tar.bz2 ledger-a2f805ef73010de7f136eba5682a909cdae3e09b.zip |
Exit if parsing errors are encountered
Diffstat (limited to 'error.h')
-rw-r--r-- | error.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ class parse_error : public error virtual const char* what() const throw() { static std::ostringstream msg; - msg << "Error: " << file << ", line " << line << ": " << error::what(); + msg << file << ", line " << line << ": " << error::what(); return msg.str().c_str(); } }; |