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 534785 - Fortran: handle fixed form source
Fortran: handle fixed form source
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.6-SVN
Other All
: Normal enhancement
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 521857 521863 522491 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-25 16:26 UTC by Oleg Batrashev
Modified: 2008-10-12 19:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleg Batrashev 2008-05-25 16:26:26 UTC
Parse comments and line continuations in fixed form.
Comment 1 Oleg Batrashev 2008-05-25 16:47:04 UTC
Added in revision 633.
Comment 2 Oleg Batrashev 2008-05-25 16:51:17 UTC
*** Bug 521861 has been marked as a duplicate of this bug. ***
Comment 3 Oleg Batrashev 2008-05-25 16:53:59 UTC
*** Bug 521863 has been marked as a duplicate of this bug. ***
Comment 4 Oleg Batrashev 2008-05-25 17:00:34 UTC
*** Bug 522491 has been marked as a duplicate of this bug. ***
Comment 5 Oleg Batrashev 2008-05-27 19:58:28 UTC
*** Bug 521857 has been marked as a duplicate of this bug. ***
Comment 6 Jun-ichi Yamamoto 2008-06-01 11:35:36 UTC
I tested revision 636 in doxygen-SVN.

Lines starting with characters c>, C>, *> or !>  were recognized 
as comment in reference document, but in source brower
the c>, C> or *> lines were not removed.

And I found two failure cases
1. comment lines in continued arguments.
2. comment lines in continued variable declarations.

Example:
case 1:
      subroutine bbb000( a,
C     comment_1
     $     b,
C     comment_2
     $     c)
      real*8 a,b,c
      end

case 2:
      subroutine bbb001( a, b, c )
      real*8 a,
C     comment_1
     $     b,
C     comment_2
     $     c
      end

Actual result:
case 1:
subroutine bbb000  	(  	real*8   	 a,
		!comment_1 &  	b,
		!comment_2 &  	c	 
	) 

case 2:
subroutine bbb001  	(  	real*8   	 a,
		b  	,
		c  		 
	) 			

Expected result:
case 1:
subroutine bbb000  	(  	real*8   	 a,
		real*8  	b,
		real*8  	c	 
	) 

case 2:
subroutine bbb001  	(  	real*8   	 a,
		real*8          b,
		real*8          c  		 
	) 			


Jun-ichi
Comment 7 Dimitri van Heesch 2008-09-28 19:16:07 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.5.7. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).
Comment 8 albert 2008-10-12 19:06:28 UTC
The bug as mentioned in problem report 521861 is still present in versiopn 1.5.7.1