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 510975 - FORTRAN: Keywords like .GT. recognized as symbols for cross ref
FORTRAN: Keywords like .GT. recognized as symbols for cross ref
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.7.1
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-01-21 08:22 UTC by ole.streicher
Modified: 2012-02-25 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH for seeing logical operators as possible function names (1.91 KB, patch)
2012-02-19 20:03 UTC, albert
none Details | Review

Description ole.streicher 2008-01-21 08:22:22 UTC
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:
Comment 1 Dimitri van Heesch 2008-12-27 14:22:54 UTC
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.
Comment 2 albert 2012-02-19 20:03:07 UTC
Created attachment 208001 [details] [review]
PATCH for seeing logical operators as possible function names

logical operator keywords as .gt. .lt. etc. are now not seen as possible function names
Comment 3 Dimitri van Heesch 2012-02-23 19:42:22 UTC
Thanks, I'll include the patch in the next release.
Comment 4 Dimitri van Heesch 2012-02-25 15:37:10 UTC
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.
Comment 5 albert 2012-02-25 19:30:42 UTC
.gt. is not seen anymore as function anymore when there is also a function gt