summaryrefslogtreecommitdiffstats
path: root/src/fortranscanner.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-07 20:51:07 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-07 20:51:07 (GMT)
commitc61d8701470352385bcf5720ee516ba95c4393c8 (patch)
tree498d67f3c418e7b9da5b07e1f5b6f67faa2b914f /src/fortranscanner.l
parentc581ea17bac7dd4ebba1ca53a55ef592f96e0117 (diff)
downloadDoxygen-c61d8701470352385bcf5720ee516ba95c4393c8.zip
Doxygen-c61d8701470352385bcf5720ee516ba95c4393c8.tar.gz
Doxygen-c61d8701470352385bcf5720ee516ba95c4393c8.tar.bz2
issue #6734 parsing performance worsened
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r--src/fortranscanner.l7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l
index 5f10669..1f0c356 100644
--- a/src/fortranscanner.l
+++ b/src/fortranscanner.l
@@ -2411,9 +2411,7 @@ static void startCommentBlock(bool brief)
static void handleCommentBlock(const QCString &doc,bool brief)
{
- bool needsEntry = FALSE;
static bool hideInBodyDocs = Config_getBool(HIDE_IN_BODY_DOCS);
- int position=0;
if (docBlockInBody && hideInBodyDocs)
{
docBlockInBody = FALSE;
@@ -2421,10 +2419,13 @@ static void handleCommentBlock(const QCString &doc,bool brief)
}
DBG_CTX((stderr,"call parseCommentBlock [%s]\n",doc.data()));
int lineNr = brief ? current->briefLine : current->docLine;
+ int position=0;
+ bool needsEntry = FALSE;
+ QCString processedDoc = preprocessCommentBlock(doc,yyFileName,lineNr);
while (parseCommentBlock(
g_thisParser,
docBlockInBody ? subrCurrent.getFirst() : current,
- doc, // text
+ processedDoc, // text
yyFileName, // file
lineNr,
docBlockInBody ? FALSE : brief,