Fix typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-06-16 12:21:19 +00:00
parent 1989d34b3b
commit da92090f0e
2 changed files with 4 additions and 4 deletions

View File

@ -303,8 +303,8 @@ void CWriter::printConstantArray(ConstantArray *CPA) {
// Print it out literally if it is a printable character. The only thing // Print it out literally if it is a printable character. The only thing
// to be careful about is when the last letter output was a hex escape // to be careful about is when the last letter output was a hex escape
// code, in which case we have to be careful not to print out hex digits // code, in which case we have to be careful not to print out hex digits
// explicitly (the C compiler things it is a continuation of the previous // explicitly (the C compiler thinks it is a continuation of the previous
// character, arg...) // character, sheesh...)
// //
if (isprint(C) && (!LastWasHex || !isxdigit(C))) { if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
LastWasHex = false; LastWasHex = false;

View File

@ -303,8 +303,8 @@ void CWriter::printConstantArray(ConstantArray *CPA) {
// Print it out literally if it is a printable character. The only thing // Print it out literally if it is a printable character. The only thing
// to be careful about is when the last letter output was a hex escape // to be careful about is when the last letter output was a hex escape
// code, in which case we have to be careful not to print out hex digits // code, in which case we have to be careful not to print out hex digits
// explicitly (the C compiler things it is a continuation of the previous // explicitly (the C compiler thinks it is a continuation of the previous
// character, arg...) // character, sheesh...)
// //
if (isprint(C) && (!LastWasHex || !isxdigit(C))) { if (isprint(C) && (!LastWasHex || !isxdigit(C))) {
LastWasHex = false; LastWasHex = false;