add a horrible hack to fix the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-03-13 21:23:43 +00:00
parent 9a507cd915
commit e023bb6936

View File

@ -173,6 +173,15 @@ tgtok::TokKind TGLexer::LexString() {
// These turn into their literal character.
CurStrVal += *CurPtr++;
break;
case 't':
CurStrVal += "\\t";
++CurPtr;
break;
case 'n':
CurStrVal += "\\n";
++CurPtr;
break;
case '\n':
case '\r':
return ReturnError(CurPtr, "escaped newlines not supported in tblgen");