From 74c74077aa376e3b013f1d2533dd3d6e2b0b4e54 Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 27 Sep 2019 19:30:12 +0200 Subject: 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. --- src/commentscan.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12