diff options
Diffstat (limited to 'src/parser/cvc')
-rw-r--r-- | src/parser/cvc/cvc_input.cpp | 6 | ||||
-rw-r--r-- | src/parser/cvc/cvc_input.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/parser/cvc/cvc_input.cpp b/src/parser/cvc/cvc_input.cpp index 2b99f9a87..6b38abaab 100644 --- a/src/parser/cvc/cvc_input.cpp +++ b/src/parser/cvc/cvc_input.cpp @@ -58,11 +58,13 @@ CvcInput::~CvcInput() { d_pCvcParser->free(d_pCvcParser); } -Command* CvcInput::parseCommand() throw (ParserException) { +Command* CvcInput::parseCommand() + throw (ParserException, AssertionException) { return d_pCvcParser->parseCommand(d_pCvcParser); } -Expr CvcInput::parseExpr() throw (ParserException) { +Expr CvcInput::parseExpr() + throw (ParserException, AssertionException) { return d_pCvcParser->parseExpr(d_pCvcParser); } diff --git a/src/parser/cvc/cvc_input.h b/src/parser/cvc/cvc_input.h index 64c6beea7..6a37680e8 100644 --- a/src/parser/cvc/cvc_input.h +++ b/src/parser/cvc/cvc_input.h @@ -71,14 +71,14 @@ protected: * * @throws ParserException if an error is encountered during parsing. */ - Command* parseCommand() throw(ParserException); + Command* parseCommand() throw(ParserException, AssertionException); /** Parse an expression from the input. Returns a null <code>Expr</code> * if there is no expression there to parse. * * @throws ParserException if an error is encountered during parsing. */ - Expr parseExpr() throw(ParserException); + Expr parseExpr() throw(ParserException, AssertionException); private: |