mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Fix bug: test/Regression/Assembler/2002-07-31-SlashInString.llx
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fdd0fba013
commit
fc94446777
@ -271,7 +271,7 @@ static void WriteConstantInt(ostream &Out, const Constant *CV, bool PrintName,
|
|||||||
(unsigned char)cast<ConstantSInt>(CA->getOperand(i))->getValue() :
|
(unsigned char)cast<ConstantSInt>(CA->getOperand(i))->getValue() :
|
||||||
(unsigned char)cast<ConstantUInt>(CA->getOperand(i))->getValue();
|
(unsigned char)cast<ConstantUInt>(CA->getOperand(i))->getValue();
|
||||||
|
|
||||||
if (isprint(C) && C != '"') {
|
if (isprint(C) && C != '"' && C != '\\') {
|
||||||
Out << C;
|
Out << C;
|
||||||
} else {
|
} else {
|
||||||
Out << '\\'
|
Out << '\\'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user