summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2006-05-07 18:20:12 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2006-05-07 18:20:12 (GMT)
commit0674d909555d4b1fe1e000425195ef33b00fe1a5 (patch)
tree2d15670fa3b1c4279e9d9439de2606f91f865d8b /src/filedef.cpp
parent6f84cba4db755b69633ad66f6efbbaf94ca8df81 (diff)
downloadDoxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.zip
Doxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.tar.gz
Doxygen-0674d909555d4b1fe1e000425195ef33b00fe1a5.tar.bz2
Release-1.4.6-20060507
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index a15ee3b..ebc0b16 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2005 by Dimitri van Heesch.
+ * Copyright (C) 1997-2006 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -623,6 +623,7 @@ void FileDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
/*! Write a source listing of this file to the output */
void FileDef::writeSource(OutputList &ol)
{
+ static bool filterSourceFiles = Config_getBool("FILTER_SOURCE_FILES");
QCString title = docname;
if (!fileVersion.isEmpty())
{
@@ -657,7 +658,7 @@ void FileDef::writeSource(OutputList &ol)
pIntf->resetCodeParserState();
ol.startCodeFragment();
pIntf->parseCode(ol,0,
- fileToString(absFilePath(),Config_getBool("FILTER_SOURCE_FILES")),
+ fileToString(absFilePath(),filterSourceFiles),
FALSE,0,this
);
ol.endCodeFragment();
@@ -667,12 +668,13 @@ void FileDef::writeSource(OutputList &ol)
void FileDef::parseSource()
{
+ static bool filterSourceFiles = Config_getBool("FILTER_SOURCE_FILES");
DevNullCodeDocInterface devNullIntf;
ParserInterface *pIntf = Doxygen::parserManager->getParser(getDefFileExtension());
pIntf->resetCodeParserState();
pIntf->parseCode(
devNullIntf,0,
- fileToString(absFilePath(),Config_getBool("FILTER_SOURCE_FILES")),
+ fileToString(absFilePath(),filterSourceFiles),
FALSE,0,this
);
}