GNOME Bugzilla – Bug 510983
Fortran: Filter not applied for generating crossref
Last modified: 2012-02-19 21:07:24 UTC
Please describe the problem: For Fortran files, I use a filter program to convert F77 files to F90 to feed them into doxygen. However, the filter seems to be not called when the crossrefs are generated. Steps to reproduce: Fortran file (F77): !> !! Subroutine 1. subroutine mysub1 C This one is different from mysub2 return end subroutine !> !! Subroutine 2. subroutine mysub2 return end subroutine Trivial F77->F90 converter (just replaces the first symbol "C" with a "!" comment), called via Doxyfile "FILTER_PATTERNS": #!/bin/sh sed s/^C/\!/ $1 Actual results: I get a wrong cross reference from mysub1 to mysub2. Expected results: No crossref. Does this happen every time? The problem disappears if I use "!" instead of "C" as comment identifier. Other information:
Could you test your F77 code with the latest version from SVN (see 534785), it does not handle yet certain cases (if comment line is within function arguments) but should work in all other cases.
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.
The problem in this bug report is that the code is recognized as free formatted code and not as fixed formatted code. The filter is called when the crossrefs are generated as the wrong cross referenced don't appear anymore. This bug is therefore (now) a duplicate of bug_625601
*** This bug has been marked as a duplicate of bug 625601 ***