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 615507 - Fortran: resulting HTML based on FORTRAN 90 code contains */ in output for first routine and variable/parameter
Fortran: resulting HTML based on FORTRAN 90 code contains */ in output for fi...
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.6.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2010-04-12 10:09 UTC by mwmgtechnip
Modified: 2011-01-03 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Zip file with project,code,output and screenshot. (305.29 KB, application/zip)
2010-04-12 10:09 UTC, mwmgtechnip
Details

Description mwmgtechnip 2010-04-12 10:09:54 UTC
Created attachment 158466 [details]
Zip file with project,code,output and screenshot.

Dear developer,

Since a while I am using Doxygen with great pleasure to generate developer and user documentation (HTML/CHM/LATEX) based on the same Fortran 90 source code :-).

In the resulting documentation, I find an have an annoying */ in my HTML and LATEX output. I cannot remove it and it appears to surface only at the first routine and parameter/variable being commented with Doxygen.

I am running Doxygen on Windows XP 32 bit professional

The source code is Fortran 90.

Used the following Doxygen binary:
http://ftp.stack.nl/pub/users/dimitri/doxygen-1.6.3-setup.exe

I have attached the project file, the Fortran 90 source code, a screen-shot and the resulting HTML and LATEX code.

Thanks for your time,

Marco van Goethem
Comment 1 Daniel Franke 2010-12-23 20:18:53 UTC
Confirmed. Reduced testcase:

-- 8< --
!> @cond DEVELOPER_MANUAL
!> @endcond
SUBROUTINE x ()
END SUBROUTINE
-- 8< --

for this, the scanner reads:

Reading /home/daniel/pr/pr615507/fortran-bug.f90...
Parsing file /home/daniel/pr/pr615507/fortran-bug.f90...
--(end of buffer or a NUL)
--accepting rule at line 277 ("!> */
")
--accepting rule at line 786 ("!>")
--accepting rule at line 797 (" */")

This is strange as there obviously is no "*/" in the code above. It was silently inserted somewhere, probably by the handling of @cond?!

Dimitri, I think this is one is for you.
Comment 2 Dimitri van Heesch 2011-01-01 19:17:32 UTC
This is indeed caused by the @cond, @endcond handling in commentcnv.l (which is a preprocessing step run before parsing).

I'll make this part more Fortran aware.
Comment 3 Dimitri van Heesch 2011-01-03 19:01:35 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.3. 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.