mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Allow $
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5054f16212
commit
b4871ad694
@ -44,7 +44,7 @@ std::string Mangler::makeNameProper(const std::string &X, const char *Prefix) {
|
||||
|
||||
for (std::string::const_iterator E = X.end(); I != E; ++I)
|
||||
if ((*I < 'a' || *I > 'z') && (*I < 'A' || *I > 'Z') &&
|
||||
(*I < '0' || *I > '9') && *I != '_')
|
||||
(*I < '0' || *I > '9') && *I != '_' && *I != '$')
|
||||
Result += MangleLetter(*I);
|
||||
else
|
||||
Result += *I;
|
||||
|
Loading…
Reference in New Issue
Block a user