summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/FileLexer.cpp.cvs
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/TableGen/FileLexer.cpp.cvs')
-rw-r--r--llvm/utils/TableGen/FileLexer.cpp.cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FileLexer.cpp.cvs b/llvm/utils/TableGen/FileLexer.cpp.cvs
index f7f374c61cc..aaa5237ce43 100644
--- a/llvm/utils/TableGen/FileLexer.cpp.cvs
+++ b/llvm/utils/TableGen/FileLexer.cpp.cvs
@@ -609,7 +609,7 @@ static void HandleInclude(const char *Buffer) {
std::string NextFilename;
for (unsigned i = 0, e = IncludeDirectories.size(); i != e; ++i) {
NextFilename = IncludeDirectories[i] + "/" + Filename;
- if (yyin = fopen(NextFilename.c_str(), "r"))
+ if ((yyin = fopen(NextFilename.c_str(), "r")))
break;
}
OpenPOWER on IntegriCloud