summaryrefslogtreecommitdiff
path: root/src/parser/cvc/cvc_input.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-02-22 16:48:13 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-03-08 19:30:49 -0500
commit56b7a4f494dfe069fc4cbdb1dcd05c23c9b59a1d (patch)
treea8dc4d5d2e1ecaba112fa67c9a61e27e5ef07c80 /src/parser/cvc/cvc_input.cpp
parent9817df56827b4ee0ee67a33361f8619c5d1df6ed (diff)
Disallow overflow in bitvector literals (parser only)
* For example, (_ bv5 1) is now an error instead of being silently truncated. * Probably inappropriate for 1.0.x because it changes exception specifications.
Diffstat (limited to 'src/parser/cvc/cvc_input.cpp')
-rw-r--r--src/parser/cvc/cvc_input.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/parser/cvc/cvc_input.cpp b/src/parser/cvc/cvc_input.cpp
index 52fadae66..8328306be 100644
--- a/src/parser/cvc/cvc_input.cpp
+++ b/src/parser/cvc/cvc_input.cpp
@@ -56,13 +56,11 @@ CvcInput::~CvcInput() {
d_pCvcParser->free(d_pCvcParser);
}
-Command* CvcInput::parseCommand()
- throw (ParserException, TypeCheckingException) {
+Command* CvcInput::parseCommand() {
return d_pCvcParser->parseCommand(d_pCvcParser);
}
-Expr CvcInput::parseExpr()
- throw (ParserException, TypeCheckingException) {
+Expr CvcInput::parseExpr() {
return d_pCvcParser->parseExpr(d_pCvcParser);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback