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 639126 - parse problem with Fortran block data construct
parse problem with Fortran block data construct
Status: RESOLVED DUPLICATE of bug 567494
Product: doxygen
Classification: Other
Component: general
1.7.4
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-01-10 09:27 UTC by Andy May
Modified: 2012-05-28 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andy May 2011-01-10 09:27:02 UTC
Using the following Fortran file:

      block data bdata
      implicit double precision(a-h,o-z)
      common /a_common/a
      data a /1/
      end

with doxygen 1.7.3, running:

doxygen -g
doxygen

results in:

Preprocessing /home/andy/doxygen/test.f...
Prepassing fixed form of /home/andy/doxygen/test.f
Parsing file /home/andy/doxygen/test.f...
parse error in end <scopename>********************************************************************
Error in file /home/andy/doxygen/test.f line: 5, state: 6
********************************************************************

The problem did not occur with Doxygen 1.7.2.

The problem can be avoided by replacing the last line with:

      end block data

but this is not necessary in Fortran 77.
Comment 1 albert 2012-01-01 10:41:39 UTC
This is a duplicate of big 567494
Comment 2 Dimitri van Heesch 2012-05-28 09:19:35 UTC

*** This bug has been marked as a duplicate of bug 567494 ***