Hi,
I already submitted this to Bugzilla (
http://bugzilla.gnome.org/show_bug.cgi?id=165793 ), but the list of
unconfirmed and new items in Bugzilla it quite long; which makes me
wonder whether I should submit this bug here as well. Anyway, here is
comes.
The command \verbinclude does not include a file verbatim when source
file
filtering is turned on. The attached files demonstrate this. The
doxybug.doc
file describes the bug; the doxybug.h file is a standard "legacy"
header file
which is filtered by the input filter slash2spanning.pl (a modified
version of
the one that is on the Doxygen site).
Run doxygen using the supplied configuration file doxybug.cfg and look
at the
generated HTML files.
It seems this bug was introduced in version 1.3, because 1.2.18 does
not show this behaviour.
I've been digging in the sources a bit -- pretty well organized -- and
probably
found the culprit in docparser.cpp, function readTextFileByName().
The following patch probably solves this bug -- note: this patch is for
version 1.4.1 of Doxygen
--- docparser.cpp~ 2005-01-03 20:17:52.000000000 +0100
+++ docparser.cpp 2005-01-31 13:42:30.000000000 +0100
@@ -1332,7 +1332,7 @@
FileDef *fd;
if ((fd=findFileDef(Doxygen::exampleNameDict,file,ambig)))
{
- text =
fileToString(fd->absFilePath(),Config_getBool("FILTER_SOURCE_FILES"));
+ text = fileToString(fd->absFilePath());
}
else if (ambig)
{
Regards,
Marcel Loose.
|