mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
unbreak the CBE on treeadd an many others.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55112 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cbd56db62b
commit
1f0f37a742
@ -773,9 +773,9 @@ void CWriter::printConstantArray(ConstantArray *CPA, bool Static) {
|
||||
if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
|
||||
LastWasHex = false;
|
||||
if (C == '"' || C == '\\')
|
||||
Out << "\\" << C;
|
||||
Out << "\\" << (char)C;
|
||||
else
|
||||
Out << C;
|
||||
Out << (char)C;
|
||||
} else {
|
||||
LastWasHex = false;
|
||||
switch (C) {
|
||||
|
Loading…
Reference in New Issue
Block a user