aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2009-09-22 18:46:53 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2009-09-22 18:46:53 -0300
commitb36facf8895b7f4b524d85088683010d34549249 (patch)
treed503a470246d59e730cd421d3b8c9ba40ed886b4
parent16aec6877fb3cd4b76cf76988c853529b9b31c42 (diff)
Fixed error when running generator whithout set correct global header.
Rev: Hugo Lima <hugo.lima@openbossa.org>
-rw-r--r--apiextractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp
index 514a327b1..38acf46e8 100644
--- a/apiextractor.cpp
+++ b/apiextractor.cpp
@@ -160,7 +160,7 @@ bool ApiExtractor::run()
// run rpp pre-processor
if (!preprocess(m_cppFileName, ppFile, m_includePaths)) {
std::cerr << "Preprocessor failed on file: " << qPrintable(m_cppFileName);
- return 1;
+ return false;
}
ppFile.seek(0);
m_builder = new AbstractMetaBuilder;