about summary refs log tree commit diff homepage
path: root/lib/Expr/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Expr/Lexer.cpp')
-rw-r--r--lib/Expr/Lexer.cpp2
1 files changed, 1 insertions, 1 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)