diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-02-22 16:48:13 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-03-08 19:30:49 -0500 |
commit | 56b7a4f494dfe069fc4cbdb1dcd05c23c9b59a1d (patch) | |
tree | a8dc4d5d2e1ecaba112fa67c9a61e27e5ef07c80 /src/parser/cvc/cvc_input.h | |
parent | 9817df56827b4ee0ee67a33361f8619c5d1df6ed (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.h')
-rw-r--r-- | src/parser/cvc/cvc_input.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/parser/cvc/cvc_input.h b/src/parser/cvc/cvc_input.h index 398ac4bd0..973e1c173 100644 --- a/src/parser/cvc/cvc_input.h +++ b/src/parser/cvc/cvc_input.h @@ -63,16 +63,14 @@ protected: * * @throws ParserException if an error is encountered during parsing. */ - Command* parseCommand() - throw(ParserException, TypeCheckingException); + Command* parseCommand(); /** 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, TypeCheckingException); + Expr parseExpr(); private: |