summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}