diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-12-03 19:13:07 (GMT) |
commit | 5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch) | |
tree | 485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /src/filedef.cpp | |
parent | a1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff) | |
download | Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2 |
Release-1.2.3-20001203
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 580749d..bb75335 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -164,6 +164,10 @@ void FileDef::writeDocumentation(OutputList &ol) ol.docify(ii->includeName); ol.enableAll(); ol.disableAllBut(OutputGenerator::Html); + + // Here we use the include file name as it appears in the file. + // we could also we the name as it is used within doxygen, + // then we should have used fd->docName() instead of ii->includeName if (fd && fd->isLinkable() && fd->generateSourceFile()) { ol.writeObjectLink(fd->getReference(),fd->includeName(),0,ii->includeName); @@ -172,6 +176,7 @@ void FileDef::writeDocumentation(OutputList &ol) { ol.docify(ii->includeName); } + ol.enableAll(); if (ii->local) ol.docify("\""); @@ -438,7 +443,10 @@ void FileDef::writeSource(OutputList &ol) initParseCodeContext(); ol.startCodeFragment(); - parseCode(ol,0,fileToString(absFilePath(),TRUE),FALSE,0,this); + parseCode(ol,0, + fileToString(absFilePath(),Config::filterForSourceFlag), + FALSE,0,this + ); ol.endCodeFragment(); endFile(ol); ol.enableAll(); |