summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Notzli <andres.noetzli@gmail.com>2016-11-30 10:29:27 -0800
committerAndres Notzli <andres.noetzli@gmail.com>2016-11-30 10:34:42 -0800
commitf57cffc90547ea1c7c42d7b5a7d894c4e13eef94 (patch)
tree0ac3027ad3298d557ec3fdaddbcbbbe9910c8dd4 /src
parentbc2378517a2f4100ba614cd44b3aa047089c82c8 (diff)
Fix parsing of BVROTR by CVC parser
This commit fixes Bugzilla bug 766 as proposed by jacobly.alt@gmail.com.
Diffstat (limited to 'src')
-rw-r--r--src/parser/cvc/Cvc.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/cvc/Cvc.g b/src/parser/cvc/Cvc.g
index d443dc2bd..1b1137a9d 100644
--- a/src/parser/cvc/Cvc.g
+++ b/src/parser/cvc/Cvc.g
@@ -1945,7 +1945,7 @@ bvTerm[CVC4::Expr& f]
{ f = MK_EXPR(MK_CONST(BitVectorRepeat(k)), f); }
/* BV rotate right */
| BVROTR_TOK LPAREN formula[f] COMMA k=numeral RPAREN
- { f = MK_EXPR(MK_CONST(BitVectorSignExtend(k)), f); }
+ { f = MK_EXPR(MK_CONST(BitVectorRotateRight(k)), f); }
/* BV rotate left */
| BVROTL_TOK LPAREN formula[f] COMMA k=numeral RPAREN
{ f = MK_EXPR(MK_CONST(BitVectorRotateLeft(k)), f); }
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback