GNOME Bugzilla – Bug 700381
error state 21 with fortran code (fixed format)
Last modified: 2016-09-05 13:45:41 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.
I've just pushed a proposed patch to github (pull request 435)
Code is integrated in git
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).