about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--lib/Expr/Lexer.cpp2
-rw-r--r--test/Solver/FastCexSolver.pc6
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/Expr/Lexer.cpp b/lib/Expr/Lexer.cpp
index 84e2c185..95d6072b 100644
--- a/lib/Expr/Lexer.cpp
+++ b/lib/Expr/Lexer.cpp
@@ -61,7 +61,7 @@ void Token::dump() {
 ///
 
 static inline bool isInternalIdentifierChar(int Char) {
-  return isalnum(Char) || Char == '_' || Char == '.';
+  return isalnum(Char) || Char == '_' || Char == '.' || Char == '-';
 }
 
 Lexer::Lexer(const llvm::MemoryBuffer *MB) 
diff --git a/test/Solver/FastCexSolver.pc b/test/Solver/FastCexSolver.pc
index 10cdce48..b8f839c3 100644
--- a/test/Solver/FastCexSolver.pc
+++ b/test/Solver/FastCexSolver.pc
@@ -4,9 +4,7 @@
 array arr1[4] : w32 -> w8 = symbolic
 (query [] (Not (Eq 4096 (ReadLSB w32 0 arr1))))
 
-array arr2[2] : w32 -> w8 = symbolic
-(query [(Ule (Add w8 208 N0:(Read w8 0 arr2))
+array A-data[2] : w32 -> w8 = symbolic
+(query [(Ule (Add w8 208 N0:(Read w8 0 A-data))
              9)]
        (Eq 52 N0))
-
-