diff options
Diffstat (limited to 'utils/TableGen/TGLexer.cpp')
-rw-r--r-- | utils/TableGen/TGLexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/TGLexer.cpp b/utils/TableGen/TGLexer.cpp index 03bf0ceaa6..79982aa05f 100644 --- a/utils/TableGen/TGLexer.cpp +++ b/utils/TableGen/TGLexer.cpp @@ -174,11 +174,11 @@ tgtok::TokKind TGLexer::LexString() { CurStrVal += *CurPtr++; break; case 't': - CurStrVal += "\\t"; + CurStrVal += '\t'; ++CurPtr; break; case 'n': - CurStrVal += "\\n"; + CurStrVal += '\n'; ++CurPtr; break; |