summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-18 14:52:40 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-18 14:52:40 (GMT)
commitc736b03f16a88b6654ff9c1ae680e46b86e50218 (patch)
tree066b0bffed86445dbe3d494eaf31515f5b743e8c /src/config.l
parentfba77445463c412e6b514174df590fdce58838cf (diff)
downloadDoxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.zip
Doxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.tar.gz
Doxygen-c736b03f16a88b6654ff9c1ae680e46b86e50218.tar.bz2
Release-1.2.12
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l28
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",