diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-11-18 14:52:40 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-11-18 14:52:40 (GMT) |
commit | b89fdced7a88c9222faa0d646923bd09fb1765f8 (patch) | |
tree | 066b0bffed86445dbe3d494eaf31515f5b743e8c /src/config.l | |
parent | f11235dce05843401bccaae6dfcee8f65ac9da1d (diff) | |
download | Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.zip Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.gz Doxygen-b89fdced7a88c9222faa0d646923bd09fb1765f8.tar.bz2 |
Release-1.2.12
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/src/config.l b/src/config.l index 5094011..670be6a 100644 --- a/src/config.l +++ b/src/config.l @@ -994,8 +994,10 @@ void Config::check() QStrList &inputSources=Config_getList("INPUT"); if (inputSources.count()==0) { - config_err("Error: tag INPUT: no input files specified after the INPUT tag.\n"); - exit(1); + //config_err("Error: tag INPUT: no input files specified after the INPUT tag.\n"); + //exit(1); + inputSources.append(QDir::currentDirPath()); + //config_warn("Warning: no files after the INPUT tag, defaulting to the current dir\n"); } else { @@ -1016,7 +1018,23 @@ void Config::check() QStrList &filePatternList = Config_getList("FILE_PATTERNS"); if (filePatternList.isEmpty()) { - filePatternList.append("*"); + filePatternList.append("*.c"); + filePatternList.append("*.cc"); + filePatternList.append("*.cxx"); + filePatternList.append("*.cpp"); + filePatternList.append("*.c++"); + filePatternList.append("*.java"); + filePatternList.append("*.ii"); + filePatternList.append("*.ixx"); + filePatternList.append("*.ipp"); + filePatternList.append("*.i++"); + filePatternList.append("*.inl"); + filePatternList.append("*.h"); + filePatternList.append("*.hh"); + filePatternList.append("*.hxx"); + filePatternList.append("*.hpp"); + filePatternList.append("*.h++"); + filePatternList.append("*.idl"); } // add default pattern if needed @@ -1509,7 +1527,9 @@ void Config::create() "If the value of the INPUT tag contains directories, you can use the \n" "FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp \n" "and *.h) to filter out the source-files in the directories. If left \n" - "blank all files are included. \n" + "blank file matching one of the following patterns are included: \n" + "*.c *.cc *.cxx *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp \n" + "*.h++ *.idl \n" ); cb = addBool( "RECURSIVE", |