Modified the code so that we exit() with a non-zero value instead of calling
[oota-llvm.git] / support / tools / TableGen / FileLexer.l
index 52f46b5239ab6710eba8bc8f318c26ed5417b0d3..64ed4c625a97022e5fd5865a3d6db0929de37110 100644 (file)
@@ -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 {