diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-01-26 15:07:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-01-26 15:07:32 (GMT) |
commit | 8d49c7c40e59970565872f666e2110755cac7828 (patch) | |
tree | e2fd095f7aa69d3768ad61ef54a8d99d3acc8cc3 /src/fortranscanner.l | |
parent | d0a664e8d46808df68fb6a29b2d76f4c6b22a85c (diff) | |
download | Doxygen-8d49c7c40e59970565872f666e2110755cac7828.zip Doxygen-8d49c7c40e59970565872f666e2110755cac7828.tar.gz Doxygen-8d49c7c40e59970565872f666e2110755cac7828.tar.bz2 |
Move DocGroup inside CommentScanner instead of using a global
Diffstat (limited to 'src/fortranscanner.l')
-rw-r--r-- | src/fortranscanner.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l index 720548d..ab90996 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -2346,7 +2346,7 @@ static void initEntry(yyscan_t yyscanner) yyextra->current->virt = Normal; yyextra->current->stat = FALSE; yyextra->current->lang = SrcLangExt_Fortran; - Doxygen::docGroup.initGroupInfo(yyextra->current.get()); + yyextra->commentScanner.initGroupInfo(yyextra->current.get()); } /** @@ -2725,7 +2725,7 @@ static void parseMain(yyscan_t yyscanner, const char *fileName,const char *fileB yyextra->global_scope = rt.get(); startScope(yyscanner,rt.get()); // implies yyextra->current_root = rt initParser(yyscanner); - Doxygen::docGroup.enterFile(yyextra->fileName,yyextra->lineNr); + yyextra->commentScanner.enterFile(yyextra->fileName,yyextra->lineNr); // add entry for the file yyextra->current = std::make_shared<Entry>(); @@ -2742,7 +2742,7 @@ static void parseMain(yyscan_t yyscanner, const char *fileName,const char *fileB } fortranscannerYYlex(yyscanner); - Doxygen::docGroup.leaveFile(yyextra->fileName,yyextra->lineNr); + yyextra->commentScanner.leaveFile(yyextra->fileName,yyextra->lineNr); if (yyextra->global_scope && yyextra->global_scope != INVALID_ENTRY) { |