summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-27 10:08:10 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:31 -0400
commitd01629148383261d7944e91fd2ac67b334a6834d (patch)
treeb6dc76692cc13c65e7d69405c0722c5925c7fcdf /parser.h
parent4716975cb18795e4a953fc705cf0b7c74d6a1c95 (diff)
downloadledger-d01629148383261d7944e91fd2ac67b334a6834d.tar.gz
ledger-d01629148383261d7944e91fd2ac67b334a6834d.tar.bz2
ledger-d01629148383261d7944e91fd2ac67b334a6834d.zip
Further corrections after attempting to compile.
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/parser.h b/parser.h
index 175c0228..689846da 100644
--- a/parser.h
+++ b/parser.h
@@ -21,13 +21,7 @@ class parser_t
const string * original_file = NULL) = 0;
};
-class parse_error : public error {
- public:
- parse_error(const string& _reason,
- error_context * _ctxt = NULL) throw()
- : error(_reason, _ctxt) {}
- virtual ~parse_error() throw() {}
-};
+DEFINE_EXCEPTION(parse_exception)
} // namespace ledger