aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--support/tools/TableGen/FileLexer.l2
-rw-r--r--utils/TableGen/FileLexer.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/tools/TableGen/FileLexer.l b/support/tools/TableGen/FileLexer.l
index 52f46b5239..64ed4c625a 100644
--- a/support/tools/TableGen/FileLexer.l
+++ b/support/tools/TableGen/FileLexer.l
@@ -82,7 +82,7 @@ void ParseFile(const std::string &Filename, const std::string & IncludeDir) {
if (F == 0) {
std::cerr << "Could not open input file '" + Filename + "'!\n";
- abort();
+ exit (1);
}
IncludeStack.push_back(IncludeRec(Filename, F));
} else {
diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l
index 52f46b5239..64ed4c625a 100644
--- a/utils/TableGen/FileLexer.l
+++ b/utils/TableGen/FileLexer.l
@@ -82,7 +82,7 @@ void ParseFile(const std::string &Filename, const std::string & IncludeDir) {
if (F == 0) {
std::cerr << "Could not open input file '" + Filename + "'!\n";
- abort();
+ exit (1);
}
IncludeStack.push_back(IncludeRec(Filename, F));
} else {