diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-08 23:00:53 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:29 -0400 |
commit | 47e2a341764b1747a0b010b3304233f7643f2a70 (patch) | |
tree | 593daa0b64c83657dc0d5e2dfcea9b78e37ca0c2 /parser.h | |
parent | f1d5716b95e770b53a43a5794782a34c78f0ae9f (diff) | |
download | fork-ledger-47e2a341764b1747a0b010b3304233f7643f2a70.tar.gz fork-ledger-47e2a341764b1747a0b010b3304233f7643f2a70.tar.bz2 fork-ledger-47e2a341764b1747a0b010b3304233f7643f2a70.zip |
*** empty log message ***
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -4,6 +4,8 @@ #include <iostream> #include <string> +#include "error.h" + namespace ledger { class account_t; @@ -48,6 +50,13 @@ unsigned int parse_ledger_data(config_t& config, void initialize_parser_support(); void shutdown_parser_support(); +class parse_error : public error { + public: + parse_error(const std::string& reason, error_context * ctxt = NULL) throw() + : error(reason, ctxt) {} + virtual ~parse_error() throw() {} +}; + } // namespace ledger #endif // _PARSER_H |