mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -773,9 +773,9 @@ void CWriter::printConstantArray(ConstantArray *CPA, bool Static) {
|
|||||||
if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
|
if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
|
||||||
LastWasHex = false;
|
LastWasHex = false;
|
||||||
if (C == '"' || C == '\\')
|
if (C == '"' || C == '\\')
|
||||||
Out << "\\" << C;
|
Out << "\\" << (char)C;
|
||||||
else
|
else
|
||||||
Out << C;
|
Out << (char)C;
|
||||||
} else {
|
} else {
|
||||||
LastWasHex = false;
|
LastWasHex = false;
|
||||||
switch (C) {
|
switch (C) {
|
||||||
|
Reference in New Issue
Block a user