summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@newayselectronics.com>2018-05-28 11:12:22 (GMT)
committerAndreas Regel <andreas.regel@newayselectronics.com>2018-05-28 11:12:22 (GMT)
commite7fe7109421e75b75c7f8d50dd0e1c165b880eea (patch)
tree12a1a0410e689bacdcbce5541c6c1b2386379011 /src/filedef.cpp
parent9f7406d151e4f5d021558e97f5d87a0d9cacecf9 (diff)
parent63696c08425fc1662c5e76280e3cc74fb3769d80 (diff)
downloadDoxygen-e7fe7109421e75b75c7f8d50dd0e1c165b880eea.zip
Doxygen-e7fe7109421e75b75c7f8d50dd0e1c165b880eea.tar.gz
Doxygen-e7fe7109421e75b75c7f8d50dd0e1c165b880eea.tar.bz2
Merge branch 'master' into vhdl-localization
# Conflicts: # src/translator.h
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index 2cfe37a..e2df9be 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -1420,13 +1420,11 @@ bool FileDef::generateSourceFile() const
{
static bool sourceBrowser = Config_getBool(SOURCE_BROWSER);
static bool verbatimHeaders = Config_getBool(VERBATIM_HEADERS);
- QCString extension = name().right(4);
return !isReference() &&
(sourceBrowser ||
(verbatimHeaders && guessSection(name())==Entry::HEADER_SEC)
) &&
- extension!=".doc" && extension!=".txt" && extension!=".dox" &&
- extension!=".md" && name().right(9)!=".markdown";
+ !isDocumentationFile();
}