aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--support/tools/TableGen/FileParser.y2
-rw-r--r--utils/TableGen/FileParser.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/tools/TableGen/FileParser.y b/support/tools/TableGen/FileParser.y
index 76f07e4..ab1819c 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<Init*> &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 76f07e4..ab1819c 100644
--- a/utils/TableGen/FileParser.y
+++ b/utils/TableGen/FileParser.y
@@ -124,7 +124,7 @@ static void addSubClass(Record *SC, const std::vector<Init*> &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