llvm-mc/AsmMatcher: Tweak string matcher (missed a newline).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-08-08 23:43:16 +00:00
parent 93b6db3de9
commit af3e9d43a2

View File

@ -781,7 +781,7 @@ static bool EmitStringMatcherForChar(const std::string &StrVariableName,
OS << Indent << "if (" << StrVariableName << ".substr(" << CharNo << "," OS << Indent << "if (" << StrVariableName << ".substr(" << CharNo << ","
<< NumChars << ") != \""; << NumChars << ") != \"";
OS << Matches[0]->first.substr(CharNo, NumChars) << "\")\n"; OS << Matches[0]->first.substr(CharNo, NumChars) << "\")\n";
OS << Indent << " break;"; OS << Indent << " break;\n";
} }
return EmitStringMatcherForChar(StrVariableName, Matches, return EmitStringMatcherForChar(StrVariableName, Matches,