mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +00:00
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:
parent
9a507cd915
commit
e023bb6936
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user