GNOME Bugzilla – Bug 510975
FORTRAN: Keywords like .GT. recognized as symbols for cross ref
Last modified: 2012-02-25 19:30:42 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:
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.
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
Thanks, I'll include the patch in the next release.
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.
.gt. is not seen anymore as function anymore when there is also a function gt