mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
llvm-mc/AsmMatcher: Tweak string matcher (missed a newline).
llvm-svn: 78518
This commit is contained in:
parent
9e2c3aa666
commit
1b075b4a8b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user