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

llvm-svn: 78518
This commit is contained in:
Daniel Dunbar 2009-08-08 23:43:16 +00:00
parent 9e2c3aa666
commit 1b075b4a8b

View File

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