diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-08 23:43:16 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-08 23:43:16 +0000 |
commit | af3e9d43a2d8ba3cf5f65f54bd928846bec3ab67 (patch) | |
tree | 15fee45d6d84e90d871785793f30708959888580 /utils/TableGen | |
parent | 93b6db3de934a3cfca5586df25184fef4a54c500 (diff) | |
download | external_llvm-af3e9d43a2d8ba3cf5f65f54bd928846bec3ab67.zip external_llvm-af3e9d43a2d8ba3cf5f65f54bd928846bec3ab67.tar.gz external_llvm-af3e9d43a2d8ba3cf5f65f54bd928846bec3ab67.tar.bz2 |
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
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/AsmMatcherEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |