From 759a19a09a720bc71e73e577b7d6b9851c59e70b Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 2 Sep 2013 18:34:19 +0200 Subject: Bug 706520 - Fortran: in body documentation lands on wrong place In some cases, in propriety code, with in body Fortran documentation doxygen crashed. I REOPENED Bug_706520 for this --- src/fortranscanner.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v0.12