[llvm-commits] [llvm] r78518 - /llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Daniel Dunbar
daniel at zuster.org
Sat Aug 8 16:43:17 PDT 2009
Author: ddunbar
Date: Sat Aug 8 18:43:16 2009
New Revision: 78518
URL: http://llvm.org/viewvc/llvm-project?rev=78518&view=rev
Log:
llvm-mc/AsmMatcher: Tweak string matcher (missed a newline).
Modified:
llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp?rev=78518&r1=78517&r2=78518&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp Sat Aug 8 18:43:16 2009
@@ -781,7 +781,7 @@
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,
More information about the llvm-commits
mailing list