New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fortran: Not recognized continuation character in fixed format code (Origin: bugzilla #521861) #2872

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status VERIFIED severity normal in component general for ---
Reported in version 1.5.7.1-SVN on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2008-03-11 21:04:40 +0000, albert wrote:

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:

On 2008-05-25 16:51:17 +0000, Oleg Batrashev wrote:

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

On 2008-12-27 20:44:26 +0000, albert wrote:

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)

On 2011-02-24 21:09:20 +0000, albert wrote:

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

On 2011-02-24 21:26:51 +0000, albert wrote:

Created attachment 181872
Fixing problem with continuation characters in fixed source form

Fixing problem with continuation characters in fixed source form

On 2011-03-10 19:35:20 +0000, Dimitri van Heesch wrote:

Thanks, I'll include this patch in the next subversion update.

On 2011-03-28 14:19:13 +0000, Dimitri van Heesch wrote:

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.

On 2011-05-15 09:54:48 +0000, Dimitri van Heesch wrote:

Seems I did not include the patch after all.

On 2011-05-15 09:55:00 +0000, Dimitri van Heesch wrote:

Should be corrected in the next subversion update.

On 2011-08-14 14:05:04 +0000, Dimitri van Heesch wrote:

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.

On 2011-11-01 10:43:48 +0000, albert wrote:

Te problem as described in this bug is fixed.

@doxygen doxygen closed this Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment