GNOME Bugzilla – Bug 615507
Fortran: resulting HTML based on FORTRAN 90 code contains */ in output for first routine and variable/parameter
Last modified: 2011-01-03 19:01:35 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
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.
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.
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.