summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fortranscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 327febf..c6b47d3 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -2109,7 +2109,7 @@ static void handleCommentBlock(const QCString &doc,bool brief)
int lineNr = brief ? current->briefLine : current->docLine;
while (parseCommentBlock(
g_thisParser,
- docBlockInBody ? last_entry : current,
+ docBlockInBody ? subrCurrent.first() : current,
doc, // text
yyFileName, // file
lineNr,