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 522496 - Fortran: variables parsed in case-sensitive manner
Fortran: variables parsed in case-sensitive manner
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.5
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-03-14 20:12 UTC by Jiahao Chen
Modified: 2012-04-21 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check Fortran arguments case insensetive (2.18 KB, patch)
2011-07-16 14:56 UTC, albert
none Details | Review

Description Jiahao Chen 2008-03-14 20:12:31 UTC
Please describe the problem:
Fortran is a case-insensitive language; however, variables are not parsed in a  case-insensitive manner in doxygen.

Steps to reproduce:
!Example code
!>
!!    @param d parameter
!<
      subroutine f(d)
      integer :: D
      end subroutine

Actual results:
With all warnings turned on, doxygen generates the following warnings:

Warning: argument `d' of command @param is not found in the argument list of f(integer D)
Warning: The following parameters of f(integer D) are not documented:
  parameter D

However, doxygen still generates useful documentation:
subroutine 	f (d)
Function Documentation
subroutine f (integer D)  	

Parameters:
    	d 	da

Expected results:
doxygen should be able to figure out that d and D are the same variable

Does this happen every time?
Yes

Other information:
Similar problems are generated by the following codes:

!Example code 2
!>
!!    @param D parameter
!<
      subroutine f(d)
      integer :: D
      end subroutine

!Example code 3
!>
!!    @param D parameter
!<
      subroutine f(d)
      integer :: d
      end subroutine
Comment 1 Daniel Franke 2010-11-13 16:30:11 UTC
Still present in 1.7.2  (r747).
Comment 2 Daniel Franke 2010-12-21 00:12:49 UTC
*** Bug 523163 has been marked as a duplicate of this bug. ***
Comment 3 albert 2011-07-16 14:56:54 UTC
Created attachment 192088 [details] [review]
Check Fortran arguments case insensetive 

Fortran is a case insensitive language. When checking Fortran arguments whether or not Fortran arguments are documented this should be done in a case insensitive manner.
Comment 4 Dimitri van Heesch 2011-08-01 11:11:08 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 5 Dimitri van Heesch 2011-08-14 14:05:12 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 Soeren Huettemann 2012-03-26 13:09:27 UTC
Is there also a patch for case insensitive subroutine and function names?
In 1.8 function and subroutine names are still case sensitive.
Comment 7 albert 2012-04-21 15:33:53 UTC
Dear Soeren,

See Bug 523163
I'm working on it.

Albert