After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652138 - FORTRAN: Crash in case !< used in an incorrect place
FORTRAN: Crash in case !< used in an incorrect place
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-06-08 19:18 UTC by albert
Modified: 2012-11-18 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Reset v_tytpe in case of entering an subroutine (643 bytes, patch)
2011-06-08 19:39 UTC, albert
none Details | Review
2nd part of fix (function module) (869 bytes, patch)
2011-07-05 18:32 UTC, albert
none Details | Review

Description albert 2011-06-08 19:18:46 UTC
Doxygen crashes in some cases when the !< comment tag is used in a place it should not be used. At the moment the following example (minimal) case has been identified:

dxprod.90
      SUBROUTINE dxprod(a)
      DOUBLE PRECISION a(3)
      END

iset.f90
!>   @param [in]       [I4]-n                               A
!!                                                      B
!
      SUBROUTINE  iset(n)
!
!< =====================================================================
!
      END
Comment 1 albert 2011-06-08 19:39:09 UTC
Created attachment 189496 [details] [review]
Reset v_tytpe in case of entering an subroutine

The patch resets the value of v_type in case a new subroutine is entered (We cannot be anymore in the v_type status V_PARAMETER or V_VARIABLE anymore).
Comment 2 Dimitri van Heesch 2011-06-19 13:40:45 UTC
Thanks, I'll include the patch in the next subversion update.
Comment 3 albert 2011-07-05 18:32:27 UTC
Created attachment 191351 [details] [review]
2nd part of fix (function module)

Second part of fix, fixing problem for module and function
Comment 4 Dimitri van Heesch 2011-07-17 09:36:28 UTC
Thanks, I'll include the 2nd part as well.
Comment 5 Dimitri van Heesch 2011-08-14 14:04:50 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.
Comment 6 albert 2011-10-30 18:38:12 UTC
No crash found anymore.