diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2009-07-10 23:20:50 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2009-07-10 23:20:50 +0000 |
commit | 304b19cbeaea3e47064e6fb4faeb6e880bd1c574 (patch) | |
tree | f12f39601a3967ebd78a6b1e1284fc266a34083a /lib/SMT/smtlib.y | |
parent | ec9faf80d2f9ca0b22f117c307b525f5bfb3b327 (diff) | |
download | klee-304b19cbeaea3e47064e6fb4faeb6e880bd1c574.tar.gz |
Fixed order of offsets in Extract.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@75311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/SMT/smtlib.y')
-rw-r--r-- | lib/SMT/smtlib.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SMT/smtlib.y b/lib/SMT/smtlib.y index 7a6485ea..43682cf4 100644 --- a/lib/SMT/smtlib.y +++ b/lib/SMT/smtlib.y @@ -745,8 +745,8 @@ an_bitwise_fun: | LPAREN_TOK BVEXTRACT_TOK LBRACKET_TOK NUMERAL_TOK COLON_TOK NUMERAL_TOK RBRACKET_TOK an_term annotations { - int off = PARSER->StringToInt(*$4); - $$ = ExtractExpr::create($8, off, PARSER->StringToInt(*$6) - off + 1); + int off = PARSER->StringToInt(*$6); + $$ = ExtractExpr::create($8, off, PARSER->StringToInt(*$4) - off + 1); } ; |