projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modified the code so that we exit() with a non-zero value instead of calling
[oota-llvm.git]
/
support
/
tools
/
TableGen
/
FileLexer.l
diff --git
a/support/tools/TableGen/FileLexer.l
b/support/tools/TableGen/FileLexer.l
index 52f46b5239ab6710eba8bc8f318c26ed5417b0d3..64ed4c625a97022e5fd5865a3d6db0929de37110 100644
(file)
--- 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 {