summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-09-28 10:08:11 (GMT)
committerGitHub <noreply@github.com>2019-09-28 10:08:11 (GMT)
commit4e21d19cf63b17aadb62905535262deb208a0c73 (patch)
treeddb5e9d73b4fbcd44267f7cdb130ee318f7885c6 /src
parent40f187cc3c6bf8a0599a47557b0c7c60ad1756c9 (diff)
parent74c74077aa376e3b013f1d2533dd3d6e2b0b4e54 (diff)
downloadDoxygen-4e21d19cf63b17aadb62905535262deb208a0c73.zip
Doxygen-4e21d19cf63b17aadb62905535262deb208a0c73.tar.gz
Doxygen-4e21d19cf63b17aadb62905535262deb208a0c73.tar.bz2
Merge pull request #7282 from albert-github/feature/issue_7274
issue #7274 Subpages no longer possible under mainpage
Diffstat (limited to 'src')
-rw-r--r--src/commentscan.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index 7c9929c..f7a4e7d 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -2475,11 +2475,11 @@ static bool handlePage(const QCString &, const QCStringList &)
static bool handleMainpage(const QCString &, const QCStringList &)
{
bool stop=makeStructuralIndicator(Entry::MAINPAGEDOC_SEC);
+ current->name = "";
if (!stop)
{
current->name = "mainpage";
}
- current->name = "";
BEGIN( PageDocArg2 );
return stop;
}