From af3e9d43a2d8ba3cf5f65f54bd928846bec3ab67 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 8 Aug 2009 23:43:16 +0000 Subject: 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 --- utils/TableGen/AsmMatcherEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/TableGen') diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index f04e938..d3b9676 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -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, -- cgit v1.1