summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-08-22 19:30:14 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-08-22 19:30:14 (GMT)
commitce8facca2c23f4656747ad3a5b4a8db475855e27 (patch)
treee5faa5e8d675f525b1cd2f397645136f8193b36f /src/util.cpp
parentf0e47672cc3f910aebd1d30fe3db21e9dbd943c4 (diff)
downloadDoxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.zip
Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.gz
Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.bz2
Release-1.7.1-20100822
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index f3ea0df..d31781b 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1937,6 +1937,7 @@ void writeExample(OutputList &ol,ExampleSDict *ed)
ol.disable(OutputGenerator::Latex);
ol.disable(OutputGenerator::RTF);
// link for Html / man
+ //printf("writeObjectLink(file=%s)\n",e->file.data());
ol.writeObjectLink(0,e->file,e->anchor,e->name);
ol.popGeneratorState();
@@ -4140,7 +4141,7 @@ static bool getScopeDefs(const char *docScope,const char *scope,
static bool isLowerCase(QCString &s)
{
- char *p=s.data();
+ uchar *p=(uchar*)s.data();
if (p==0) return TRUE;
int c;
while ((c=*p++)) if (!islower(c)) return FALSE;
@@ -6451,7 +6452,8 @@ bool updateLanguageMapping(const QCString &extension,const QCString &language)
{
g_extLookup.remove(extension);
}
- g_extLookup.insert(extension,new int(parserId));
+ //printf("registering extension %s\n",extName.data());
+ g_extLookup.insert(extName,new int(parserId));
if (!Doxygen::parserManager->registerExtension(extName,p->parserName))
{
err("Failed to assign extension %s to parser %s for language %s\n",
@@ -6503,10 +6505,12 @@ SrcLangExt getLanguageFromFileName(const QCString fileName)
int *pVal=g_extLookup.find(extStr);
if (pVal) // listed extension
{
+ //printf("getLanguageFromFileName(%s)=%x\n",extStr.data(),*pVal);
return (SrcLangExt)*pVal;
}
}
}
+ //printf("getLanguageFromFileName(%s) not found!\n",fileName.data());
return SrcLangExt_Cpp; // not listed => assume C-ish language.
}