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 521861 - Fortran: Not recognized continuation character in fixed format code
Fortran: Not recognized continuation character in fixed format code
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.7.1-SVN
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-03-11 21:04 UTC by albert
Modified: 2011-11-01 10:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixing problem with continuation characters in fixed source form (1.48 KB, application/octet-stream)
2011-02-24 21:26 UTC, albert
Details

Description albert 2008-03-11 21:04:40 UTC
Please describe the problem:
In fixed formatted code not all characters in column 6 are recognized as continuation characters.

Example:
       MODULE tst
      REAL, DIMENSION(10)
     x                   :: tst1
      REAL, DIMENSION(10)
     x                   :: tst2
      END MODULE tst

result:
g.f:1: Warning: documented function `REAL tst::dimension' was not declared or defined.


Steps to reproduce:
1. See description above


Actual results:
See description above

Expected results:
tst1 and tst2 are 2 local variables

Does this happen every time?
Yes

Other information:
Comment 1 Oleg Batrashev 2008-05-25 16:51:17 UTC

*** This bug has been marked as a duplicate of 534785 ***
Comment 2 albert 2008-12-27 20:44:26 UTC
Although it is set as a duplicate of 534785 this bug is still present in the current 1.5.7.1 SVN version (I cannot reopen bug 534785)
Comment 3 albert 2011-02-24 21:09:20 UTC
The above mentioned case is a problem of recognizing free versus fixed format code. Due to the space on position 7 in the first line the file is seen as free formatted code. Removing the space fixes this problem.

The problem still exists in case a C, c or * is used as continuation character (allowed by the standard). A zero (0) is not allowed as continuation character.

Example:
      module qq
        REAL
     c  tst2
        REAL
     !  tst3
        REAL
     0  tst4
      end module qq
Comment 4 albert 2011-02-24 21:26:51 UTC
Created attachment 181872 [details]
Fixing problem with continuation characters in fixed source form

Fixing problem with continuation characters in fixed source form
Comment 5 Dimitri van Heesch 2011-03-10 19:35:20 UTC
Thanks, I'll include this patch in the next subversion update.
Comment 6 Dimitri van Heesch 2011-03-28 14:19:13 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.4. 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 7 Dimitri van Heesch 2011-05-15 09:54:48 UTC
Seems I did not include the patch after all.
Comment 8 Dimitri van Heesch 2011-05-15 09:55:00 UTC
Should be corrected in the next subversion update.
Comment 9 Dimitri van Heesch 2011-08-14 14:05:04 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. 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 10 albert 2011-11-01 10:43:48 UTC
Te problem as described in this bug is fixed.