summaryrefslogtreecommitdiff
path: root/src/parser/smt2/smt2_input.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-07-06 15:52:10 +0000
committerMorgan Deters <mdeters@gmail.com>2010-07-06 15:52:10 +0000
commitd6b40829e8d92a7a298d0c0023d944131a8285cf (patch)
tree64fb36a7623cb2416d7129a3249d5875ce4f68ec /src/parser/smt2/smt2_input.cpp
parentb9f36ae0027e52da925416630ccad5d4b84779e9 (diff)
merge from CC work: pieces of the parser need to be declared to throw AssertionException, and language enum should have stream insertion op
Diffstat (limited to 'src/parser/smt2/smt2_input.cpp')
-rw-r--r--src/parser/smt2/smt2_input.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/parser/smt2/smt2_input.cpp b/src/parser/smt2/smt2_input.cpp
index 5156ea2e5..e0bcadd61 100644
--- a/src/parser/smt2/smt2_input.cpp
+++ b/src/parser/smt2/smt2_input.cpp
@@ -60,11 +60,13 @@ Smt2Input::~Smt2Input() {
d_pSmt2Parser->free(d_pSmt2Parser);
}
-Command* Smt2Input::parseCommand() throw (ParserException) {
+Command* Smt2Input::parseCommand()
+ throw (ParserException, AssertionException) {
return d_pSmt2Parser->parseCommand(d_pSmt2Parser);
}
-Expr Smt2Input::parseExpr() throw (ParserException) {
+Expr Smt2Input::parseExpr()
+ throw (ParserException, AssertionException) {
return d_pSmt2Parser->parseExpr(d_pSmt2Parser);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback