summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-05-31 20:12:30 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-06-15 08:47:58 (GMT)
commitbd76ec600742936e6373ccbcdfc19966b44cb3ec (patch)
tree54abe9cfcb619e333e71cc2e9571eea244908150 /src/xmlgen.cpp
parent438375840da2b1ea19126f8d4b53f0bc71c62a68 (diff)
downloadDoxygen-bd76ec600742936e6373ccbcdfc19966b44cb3ec.zip
Doxygen-bd76ec600742936e6373ccbcdfc19966b44cb3ec.tar.gz
Doxygen-bd76ec600742936e6373ccbcdfc19966b44cb3ec.tar.bz2
Bug 701314 - URLs are not created on C# classes in some cases
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index f189831..6f98b3c 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -456,11 +456,13 @@ static void writeXMLDocBlock(FTextStream &t,
void writeXMLCodeBlock(FTextStream &t,FileDef *fd)
{
ParserInterface *pIntf=Doxygen::parserManager->getParser(fd->getDefFileExtension());
+ SrcLangExt langExt = getLanguageFromFileName(fd->getDefFileExtension());
pIntf->resetCodeParserState();
XMLCodeGenerator *xmlGen = new XMLCodeGenerator(t);
pIntf->parseCode(*xmlGen, // codeOutIntf
0, // scopeName
fileToString(fd->absFilePath(),Config_getBool("FILTER_SOURCE_FILES")),
+ langExt, // lang
FALSE, // isExampleBlock
0, // exampleName
fd, // fileDef