summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-05-16 15:05:25 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-05-16 15:05:25 (GMT)
commit14b04be2af279e1093f17d6b933d1e9ab530e128 (patch)
treef61bcb5f9390dd7bf7a7620204a6a3aa7980930f /src/util.cpp
parent2f8c5b9aef91ac42874aa06481c0fe2220503c3c (diff)
downloadDoxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.zip
Doxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.tar.gz
Doxygen-14b04be2af279e1093f17d6b933d1e9ab530e128.tar.bz2
Bug 766069 - Files with incorrect extensions (.doc) are picked up by doxygen
Diffstat (limited to 'src/util.cpp')
-rwxr-xr-xsrc/util.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 7624ab9..592398d 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -7020,8 +7020,6 @@ void stringToSearchIndex(const QCString &docBaseUrl,const QCString &title,
static QDict<int> g_extLookup;
-const QDict<int> &getExtensionLookup() { return g_extLookup; }
-
static struct Lang2ExtMap
{
const char *langName;
@@ -7092,7 +7090,7 @@ void initDefaultExtensionMapping()
g_extLookup.setAutoDelete(TRUE);
// extension parser id
updateLanguageMapping(".dox", "c");
- //updateLanguageMapping(".txt", "c"); // see bug 760836
+ updateLanguageMapping(".txt", "c"); // see bug 760836
updateLanguageMapping(".doc", "c");
updateLanguageMapping(".c", "c");
updateLanguageMapping(".C", "c");