summaryrefslogtreecommitdiffstats
path: root/src/commentscan.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-12-19 10:16:11 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-12-19 10:16:11 (GMT)
commit15541e75816673fdc51d90820d6620e98b8fcd4b (patch)
tree39c9a212fdeb2a1322c52e8aab8c86a7ff6cb84a /src/commentscan.l
parent449a7e2b4ff114a72be573013558bae19672ebbc (diff)
downloadDoxygen-15541e75816673fdc51d90820d6620e98b8fcd4b.zip
Doxygen-15541e75816673fdc51d90820d6620e98b8fcd4b.tar.gz
Doxygen-15541e75816673fdc51d90820d6620e98b8fcd4b.tar.bz2
issue #6692 XML TOC generation is not backwards-compatible with 1.8.14
In case no options specified with the `\tableofcontents` `Html` and `XML` should be generated and not only `Html` (compatibility).
Diffstat (limited to 'src/commentscan.l')
-rw-r--r--src/commentscan.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 3af682c..c5349cf 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -3005,7 +3005,9 @@ static bool handleToc(const QCString &, const QCStringList &optList)
}
if (current->localToc.nothingEnabled())
{
- current->localToc.enableHtml(5); // for backward compatibility
+ // for backward compatibility
+ current->localToc.enableHtml(5);
+ current->localToc.enableXml(5);
}
}
return FALSE;