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 659173 - Preprocessing outside subroutines definitions breaks fortran comments
Preprocessing outside subroutines definitions breaks fortran comments
Status: RESOLVED DUPLICATE of bug 625601
Product: doxygen
Classification: Other
Component: general
1.7.5.1
Other Windows
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-09-15 18:06 UTC by Fan3io
Modified: 2013-04-14 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a file showing the problem (241 bytes, application/octet-stream)
2011-09-15 18:07 UTC, Fan3io
Details
a file where the problem does not occure (249 bytes, application/octet-stream)
2011-09-15 18:08 UTC, Fan3io
Details
a file where the problem does not occure (235 bytes, application/octet-stream)
2011-09-15 18:08 UTC, Fan3io
Details
The DoxyFile (11.51 KB, application/octet-stream)
2011-09-16 07:03 UTC, Fan3io
Details

Description Fan3io 2011-09-15 18:06:08 UTC
I'm coding in fortran.
If I have a preprocessing instruction outside the program's definition, it breaks comment lines begining with a "C" character and containing an ' character (apostrophe ), and also following lines. 
If the preprocessing instruction is inside  the program's definition, or if the comment line begins with "!" character, it works.
It is a problem because a lot of files in my project are written such manner.
Comment 1 Fan3io 2011-09-15 18:07:17 UTC
Created attachment 196661 [details]
a file showing the problem
Comment 2 Fan3io 2011-09-15 18:08:23 UTC
Created attachment 196662 [details]
a file where the problem does not occure
Comment 3 Fan3io 2011-09-15 18:08:47 UTC
Created attachment 196663 [details]
a file where the problem does not occure
Comment 4 Fan3io 2011-09-15 18:43:20 UTC
it happens whether I activate the preprocessing option or not
Comment 5 Fan3io 2011-09-16 07:03:43 UTC
Created attachment 196692 [details]
The DoxyFile
Comment 6 albert 2013-04-14 12:32:29 UTC
Basic problem lies here in the fact that the fie is not recognized as a fixed format Fortran file. (We see this in the output of the doxygen command where the line "Prepassing fixed form of .../toto.f" is missing and in the coloring of the source code where the lines starting with a 'c' or 'C' are not seen as comment lines, a line staring with '!' is seen as comment).
When changing the comments from 'C' / 'c' comments into '!' comments the file is processed properly as a free formated file.

Conclusion this is a duplicate of bug_625601

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