projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow @ in symbol names without quoting the identifier. This
[oota-llvm.git]
/
lib
/
MC
/
MCSymbol.cpp
diff --git
a/lib/MC/MCSymbol.cpp
b/lib/MC/MCSymbol.cpp
index 68ab24d9523a37b1cb0a7d959bb4b7923f86ebc0..ef58aecf33cd7f832f9c09b21dc6b4126eb92a0b 100644
(file)
--- a/
lib/MC/MCSymbol.cpp
+++ b/
lib/MC/MCSymbol.cpp
@@
-39,7
+39,7
@@
static bool ShouldQuoteIdentifier(const StringRef &Str, const MCAsmInfo &MAI) {
if ((C < 'a' || C > 'z') &&
(C < 'A' || C > 'Z') &&
(C < '0' || C > '9') &&
- C != '_' && C != '$' && C != '.')
+ C != '_' && C != '$' && C != '.'
&& C != '@'
)
return true;
}
return false;