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 700381 - error state 21 with fortran code (fixed format)
error state 21 with fortran code (fixed format)
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.3.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-05-15 12:00 UTC by Holger
Modified: 2016-09-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Zip with two example fortran scripts (966 bytes, application/zip)
2013-05-15 12:00 UTC, Holger
Details

Description Holger 2013-05-15 12:00:36 UTC
Created attachment 244307 [details]
Zip with two example fortran scripts

Doxygen 1.8.3.1 produces the error 

********************************************************************
Error in file example_does_not_work.f line: 18, state: 21
********************************************************************

when the file example_does_not_work.f is parsed. 

I discovered that the problem is the line with the ! (exclamation mark) written in it

      Write(*,'('' this is some text i would like to write to the '',
     +          ''standard output. A number is added to the text '',I4,
     +          '' and given here ! '')')
     +          VARIABLE

When the Write-command is altered to

      Write(*,'('' this is some text i would like to write to the '',
     +          ''standard output. A number is added to the text '',I4,
     +          '' and given here ! ''
     +          )')VARIABLE

as in example_works.f, Doxygen parses the file correctly. Both examples are valid fortran code.
Comment 1 albert 2016-01-02 14:25:28 UTC
I've just pushed a proposed patch to github (pull request 435)
Comment 2 albert 2016-01-02 17:15:13 UTC
Code is integrated in git
Comment 3 Dimitri van Heesch 2016-09-05 13:45:41 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. 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 (preferably in the form of a self-contained example).