From 7171bbba9259bc7d22e09454ca9d7381d13c94e2 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 9 Nov 2020 18:40:58 +0100 Subject: Doxygen crashes on Fortran When having a Fortran file like: ``` !> module docu MODULE test_mod INTERFACE !> @brief iets SUBROUTINE subr_i(this) INTEGER this END SUBROUTINE subr_i END INTERFACE !< @brief type brief TYPE, PUBLIC :: test_type !> docu integer i END TYPE test_type END MODULE test_mod ``` this is due to the fact that a incorrect start of comment `!<` is used for the `TYPE` and that initiated because the last `SUBROUTINE` argument does not have any documentation. The actual cause is that at the end of a subroutine the `vtype` is not properly reset. --- src/fortranscanner.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fortranscanner.l b/src/fortranscanner.l index dfca1f8..6b581d2 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -774,6 +774,7 @@ private { yyterminate(); } yyextra->subrCurrent.pop_back(); + yyextra->vtype = V_IGNORE; yy_pop_state(yyscanner) ; } { -- cgit v0.12 From 64c096935496bc513c6b85dca1d526b50f9fed5f Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 10 Nov 2020 10:55:43 +0100 Subject: Typo in namespacedef.h Typo in namespacedef.h as found by Fossies --- src/namespacedef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/namespacedef.h b/src/namespacedef.h index 8ce0ef1..0bdd0b5 100644 --- a/src/namespacedef.h +++ b/src/namespacedef.h @@ -84,7 +84,7 @@ class NamespaceDef : virtual public Definition virtual QCString title() const = 0; virtual QCString compoundTypeString() const = 0; - // --- visited administation + // --- visited administration virtual void setVisited(bool v) = 0; virtual bool isVisited() const = 0; }; -- cgit v0.12