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: Keywords like .GT. recognized as symbols for cross ref (Origin: bugzilla #510975) #2791

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

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2008-01-21 08:22:22 +0000, ole.streicher@ebp.de wrote:

Please describe the problem:
When building cross references, the FORTRAN keywords .GT. etc. are treated like ordinary symbols and may occur in the "used symbol" list. This happens especially if one has a project that has C as well as FORTRAN code, and the C code contains a function GT().

Steps to reproduce:
Fortran code:

!>
!! Subroutine.
subroutine mysub()
real x, y
if (x.GT.y) then
x = y
return
end subroutine

C code:

/** My Function */
void GT(void) { }

Actual results:
I get a cross reference for GT() from the Fortran subroutine to the C function.

Expected results:
No cross reference.

Does this happen every time?
Yes.

Other information:

On 2008-12-27 14:22:54 +0000, Dimitri van Heesch wrote:

This bug report had the version set to "latest". Since this is a moving target I changed it to 1.5.7.1. If you happen to see that the problem is fixed in 1.5.8, then please close it.

On 2012-02-19 20:03:07 +0000, albert wrote:

Created attachment 208001
PATCH for seeing logical operators as possible function names

logical operator keywords as .gt. .lt. etc. are now not seen as possible function names

On 2012-02-23 19:42:22 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next release.

On 2012-02-25 15:37:10 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.0. 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-02-25 19:30:42 +0000, albert wrote:

.gt. is not seen anymore as function anymore when there is also a function gt

@doxygen doxygen closed this Jul 19, 2018

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