diff --git a/support/tools/TableGen/FileParser.y b/support/tools/TableGen/FileParser.y index 76f07e465f87..ab1819c554a9 100644 --- a/support/tools/TableGen/FileParser.y +++ b/support/tools/TableGen/FileParser.y @@ -124,7 +124,7 @@ static void addSubClass(Record *SC, const std::vector &TemplateArgs) { // Ensure that an appropriate number of template arguments are specified... if (TArgs.size() < TemplateArgs.size()) { - err() << "ERROR: More template args specified thang expected!\n"; + err() << "ERROR: More template args specified than expected!\n"; abort(); } else { // This class expects template arguments... // Loop over all of the template arguments, setting them to the specified diff --git a/utils/TableGen/FileParser.y b/utils/TableGen/FileParser.y index 76f07e465f87..ab1819c554a9 100644 --- a/utils/TableGen/FileParser.y +++ b/utils/TableGen/FileParser.y @@ -124,7 +124,7 @@ static void addSubClass(Record *SC, const std::vector &TemplateArgs) { // Ensure that an appropriate number of template arguments are specified... if (TArgs.size() < TemplateArgs.size()) { - err() << "ERROR: More template args specified thang expected!\n"; + err() << "ERROR: More template args specified than expected!\n"; abort(); } else { // This class expects template arguments... // Loop over all of the template arguments, setting them to the specified