about summary refs log tree commit diff homepage
path: root/lib/SMT/smtlib.lex
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2009-07-08 02:35:55 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2009-07-08 02:35:55 +0000
commit65319873a052826cbea5198815316f676bb86a84 (patch)
treedf2663e838a8ae608c96b373a3197a508c652b47 /lib/SMT/smtlib.lex
parentef6e35242fefee2a3bbbd3c247a3b2291b5965d4 (diff)
downloadklee-65319873a052826cbea5198815316f676bb86a84.tar.gz
Added support for bitvector variables to the SMTLIB parser (currently
widths have to be multiples of 8).



git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@74990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/SMT/smtlib.lex')
-rw-r--r--lib/SMT/smtlib.lex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/SMT/smtlib.lex b/lib/SMT/smtlib.lex
index f5633716..c614c683 100644
--- a/lib/SMT/smtlib.lex
+++ b/lib/SMT/smtlib.lex
@@ -154,6 +154,8 @@ IDCHAR  ({LETTER}|{DIGIT}|{OPCHAR})
                           SMTParser::parserTemp->lineNum++; }
 <USER_VALUE>.	        { _string_lit.insert(_string_lit.end(),*smtlibtext); }
 
+"BitVec"        { return BITVEC_TOK; }
+
 "true"          { return TRUE_TOK; }
 "false"         { return FALSE_TOK; }
 "ite"           { return ITE_TOK; }