diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-08-22 19:30:14 (GMT) |
commit | 20bc00a80ad6bcda730a1762c3700c8f63fa16eb (patch) | |
tree | e5faa5e8d675f525b1cd2f397645136f8193b36f /src/util.cpp | |
parent | 4ad0d24c5b3a0afd99722ae5c33968ff9fa44e2d (diff) | |
download | Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.zip Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.gz Doxygen-20bc00a80ad6bcda730a1762c3700c8f63fa16eb.tar.bz2 |
Release-1.7.1-20100822
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 8 |
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. } |