summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-07-29 01:56:53 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-07-29 01:56:53 -0400
commita2f805ef73010de7f136eba5682a909cdae3e09b (patch)
tree8db89762249e833a3c43d48a70bf7d8a3f802c87 /error.h
parentc598550d50b23f80b3481e831d5a3261b0800e79 (diff)
downloadledger-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index e6a4984c..f332ae4c 100644
--- a/error.h
+++ b/error.h
@@ -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();
}
};