diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-25 21:11:43 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-01-25 21:11:43 (GMT) |
commit | c7d553e78d5c3efdecb3f44a63f4f68e83eae61a (patch) | |
tree | 5e3ff29c80e73d69c88e8b33d670753c31eed4b2 /src/doxygen.cpp | |
parent | ee63f0e064142addc300e0411b141d2697b73500 (diff) | |
download | Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.zip Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.gz Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.bz2 |
Release-1.3.5-20040125
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 872517a..640ce0f 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -117,6 +117,7 @@ double Doxygen::sysElapsedTime = 0.0; QTime Doxygen::runningTime; SearchIndex * Doxygen::searchIndex=0; SDict<DefinitionList> *Doxygen::symbolMap; +bool Doxygen::outputToWizard=FALSE; static StringList inputFiles; static StringDict excludeNameDict(1009); // sections @@ -7039,9 +7040,12 @@ static int readDir(QFileInfo *fi, if (exclDict==0 || exclDict->find(cfi->absFilePath())==0) { // file should not be excluded //printf("killDict->find(%s)\n",cfi->absFilePath().data()); - if ((!cfi->exists() || !cfi->isReadable()) && errorIfNotExist) + if (!cfi->exists() || !cfi->isReadable()) { - err("Error: source %s is not a readable file or directory... skipping.\n",cfi->absFilePath().data()); + if (errorIfNotExist) + { + err("Error: source %s is not a readable file or directory... skipping.\n",cfi->absFilePath().data()); + } } else if (cfi->isFile() && (!Config_getBool("EXCLUDE_SYMLINKS") || !cfi->isSymLink()) && @@ -7159,9 +7163,12 @@ static int readFileOrDirectory(const char *s, { if (exclDict==0 || exclDict->find(fi.absFilePath())==0) { - if ((!fi.exists() || !fi.isReadable()) && errorIfNotExist) + if (!fi.exists() || !fi.isReadable()) { - err("Error: source %s is not a readable file or directory... skipping.\n",s); + if (errorIfNotExist) + { + err("Error: source %s is not a readable file or directory... skipping.\n",s); + } } else if (!Config_getBool("EXCLUDE_SYMLINKS") || !fi.isSymLink()) { @@ -7542,6 +7549,7 @@ void readConfiguration(int argc, char **argv) break; case 'b': setvbuf(stdout,NULL,_IONBF,0); + Doxygen::outputToWizard=TRUE; break; case 'h': case '?': |