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 510983 - Fortran: Filter not applied for generating crossref
Fortran: Filter not applied for generating crossref
Status: RESOLVED DUPLICATE of bug 625601
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 09:11 UTC by ole.streicher
Modified: 2012-02-19 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ole.streicher 2008-01-21 09:11:29 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:
Comment 1 Oleg Batrashev 2008-05-27 20:07:59 UTC
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.
Comment 2 Dimitri van Heesch 2008-12-27 14:22:55 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 3 albert 2012-02-19 20:33:43 UTC
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
Comment 4 Dimitri van Heesch 2012-02-19 21:07:24 UTC

*** This bug has been marked as a duplicate of bug 625601 ***