diff options
author | albert-github <albert.tests@gmail.com> | 2019-09-27 17:30:12 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-09-27 17:30:12 (GMT) |
commit | 74c74077aa376e3b013f1d2533dd3d6e2b0b4e54 (patch) | |
tree | ddb5e9d73b4fbcd44267f7cdb130ee318f7885c6 | |
parent | 40f187cc3c6bf8a0599a47557b0c7c60ad1756c9 (diff) | |
download | Doxygen-74c74077aa376e3b013f1d2533dd3d6e2b0b4e54.zip Doxygen-74c74077aa376e3b013f1d2533dd3d6e2b0b4e54.tar.gz Doxygen-74c74077aa376e3b013f1d2533dd3d6e2b0b4e54.tar.bz2 |
issue #7274 Subpages no longer possible under mainpage
Regression on #7050 / #7053 (Physical newlines (^^) not working in group names and without spaces in 1.8.15), in case the current name was explicitly set to mainpage it was still overwritten.
-rw-r--r-- | src/commentscan.l | 2 |
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; } |