summaryrefslogtreecommitdiff
path: root/src/parser/input.h
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/input.h
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/input.h')
-rw-r--r--src/parser/input.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/parser/input.h b/src/parser/input.h
index 0203ed806..f4b36469b 100644
--- a/src/parser/input.h
+++ b/src/parser/input.h
@@ -168,8 +168,7 @@ protected:
*
* @throws ParserException if an error is encountered during parsing.
*/
- virtual Command* parseCommand()
- throw (ParserException, TypeCheckingException) = 0;
+ virtual Command* parseCommand() = 0;
/**
* Issue a warning to the user, with source file, line, and column info.
@@ -188,8 +187,7 @@ protected:
*
* @throws ParserException if an error is encountered during parsing.
*/
- virtual Expr parseExpr()
- throw (ParserException, TypeCheckingException) = 0;
+ virtual Expr parseExpr() = 0;
/** Set the Parser object for this input. */
virtual void setParser(Parser& parser) = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback