diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2009-06-16 02:27:48 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2009-06-16 02:27:48 +0000 |
commit | 4fa1271fb51c2e5e889e2dc918c40f46886b9b71 (patch) | |
tree | 0e419925fe76c880cb7e1f4d8f02c98346c059ac /lib/SMT/smtlib.lex | |
parent | 03eca4ba3255665bd4b2e246b92f63cc2b06a1bf (diff) | |
download | klee-4fa1271fb51c2e5e889e2dc918c40f46886b9b71.tar.gz |
Added support for comparison and arithmetic expressions.
We need to add support for smod to Kleaver. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@73459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/SMT/smtlib.lex')
-rw-r--r-- | lib/SMT/smtlib.lex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/SMT/smtlib.lex b/lib/SMT/smtlib.lex index da61a8f5..0d955bf8 100644 --- a/lib/SMT/smtlib.lex +++ b/lib/SMT/smtlib.lex @@ -203,8 +203,8 @@ IDCHAR ({LETTER}|{DIGIT}|{OPCHAR}) "?" { return QUESTION_TOK; } -"bit0" { return FALSE_TOK; } -"bit1" { return TRUE_TOK; } +"bit0" { return BIT0_TOK; } +"bit1" { return BIT1_TOK; } "concat" { return BVCONCAT_TOK; } "extract" { return BVEXTRACT_TOK; } @@ -236,6 +236,7 @@ IDCHAR ({LETTER}|{DIGIT}|{OPCHAR}) "bvsdiv" { return BVSDIV_TOK; } "bvsrem" { return BVSREM_TOK; } "bvsmod" { return BVSMOD_TOK; } + "bvshl" { return BVSHL_TOK; } "bvlshr" { return BVLSHR_TOK; } "bvashr" { return BVASHR_TOK; } |