diff options
Diffstat (limited to 'src/parser/parser_state.cpp')
-rw-r--r-- | src/parser/parser_state.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/parser/parser_state.cpp b/src/parser/parser_state.cpp new file mode 100644 index 000000000..654fbfe32 --- /dev/null +++ b/src/parser/parser_state.cpp @@ -0,0 +1,25 @@ +/********************* -*- C++ -*- */ +/** parser_state.cpp + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + ** See the file COPYING in the top-level source directory for licensing + ** information. + ** + ** Parser state implementation. + **/ + +#include <string> +#include "parser/parser_state.h" +#include "parser/parser_exception.h" + +namespace CVC4 { +namespace parser { + +void ParserState::error(const std::string& s) throw(ParserException*) { + throw new ParserException(s); +} + +}/* CVC4::parser namespace */ +}/* CVC4 namespace */ |