New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran: variables parsed in case-sensitive manner (Origin: bugzilla #522496) #2887

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.5.5 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2008-03-14 20:12:31 +0000, Jiahao Chen wrote:

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

On 2010-11-13 16:30:11 +0000, Daniel Franke wrote:

Still present in 1.7.2 (r747).

On 2010-12-21 00:12:49 +0000, Daniel Franke wrote:

*** Bug 523163 has been marked as a duplicate of this bug. ***

On 2011-07-16 14:56:54 +0000, albert wrote:

Created attachment 192088
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.

On 2011-08-01 11:11:08 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2011-08-14 14:05:12 +0000, Dimitri van Heesch wrote:

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.

On 2012-03-26 13:09:27 +0000, Soeren Huettemann wrote:

Is there also a patch for case insensitive subroutine and function names?
In 1.8 function and subroutine names are still case sensitive.

On 2012-04-21 15:33:53 +0000, albert wrote:

Dear Soeren,

See Bug 523163
I'm working on it.

Albert

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment