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 653963 - Fortran using @param when describing argument at the argument
Fortran using @param when describing argument at the argument
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-07-04 19:01 UTC by albert
Modified: 2012-11-18 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Problem with argument description (1.22 KB, text/x-fortran)
2011-07-04 19:01 UTC, albert
  Details
patch for jhandling different types of param definition documentation in Fortran (3.32 KB, patch)
2011-07-17 13:30 UTC, albert
none Details | Review

Description albert 2011-07-04 19:01:19 UTC
Created attachment 191244 [details]
Problem with argument description

In case we use @param to describe an argument at the place the argument is declared we get an empty line plus a line where the parameter is described.

There are 2 styles of documenting arguments:
before the routine (argument p1)
at the argument (other arguments)
if we mix these 2 possibilities we get to lists with parameters

see attached example
Comment 1 albert 2011-07-17 13:30:41 UTC
Created attachment 192128 [details] [review]
patch for jhandling different types of param definition documentation in Fortran

In this patch I've made the documentation for argument more uniform.
At the following places argument documentation can occur:
- before the subroutine (!> @param ...)
- just before the declaration of the variable (!> ...)
- as inline comment with the variable (!< ...)

The documentation of the last 2 occurrences can now be like it always has been:
!> description
or
!< description
but now this description will be prepended by @param [intent] variable-name
the [intent] will only be done in case it is specified with the declaration of the variable. In case there is already a @param or \param the description is left unchanged.
The description before the subroutine is also left unchanged.
Comment 2 Dimitri van Heesch 2011-08-01 11:13:08 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 3 Dimitri van Heesch 2011-08-14 14:04:59 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.5. 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.
Comment 4 albert 2011-10-30 19:20:12 UTC
Parameter documentation is now uniform (and together)