Remove extraneous ';'.
[oota-llvm.git] / utils / TableGen / AsmMatcherEmitter.cpp
index 0a8ae466efb705abe93e644d10bf3283833e58cc..026d47f4bd772c106cdfbc1cc086b37c7b96ddbb 100644 (file)
@@ -2649,7 +2649,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
   OS << "    for (unsigned i = 0; i != " << MaxNumOperands << "; ++i) {\n";
   OS << "      if (i + 1 >= Operands.size()) {\n";
   OS << "        OperandsValid = (it->Classes[i] == " <<"InvalidMatchClass);\n";
-  OS << "        if (!OperandsValid) ErrorInfo = i + 1;\n;";
+  OS << "        if (!OperandsValid) ErrorInfo = i + 1;\n";
   OS << "        break;\n";
   OS << "      }\n";
   OS << "      unsigned Diag = validateOperandClass(Operands[i+1],\n";