allow @ in symbol names without quoting the identifier. This

allows things like @PLT without quotes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-09 00:14:09 +00:00
parent 9d48b555e2
commit a8bb2490ae

View File

@ -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;