GNOME Bugzilla – Bug 666008
Fortran: @var at the module level doesn't seem to work...
Last modified: 2013-05-19 12:36:23 UTC
I've tried the following in a wide variety of variants: <pre> MODULE socialSecurity ... !++ !> @var socialSecurity::defaultDateOfEntitlement !> The first of the month in which retirement insurance benefits could be paid !> in full. It is the first full month following the default full retirement !> age. !-- TYPE(t_date):: defaultDateOfEntitlement( 1 parameterHusbandIndex:parameterWifeIndex) END MODULE socialSecurity </pre> and cannot get any documentation of the variable defaultDateOfEntitlement in the Doxygen output. I've tried: 1. Leaving off the variable name. 2. Leaving of the module name. 3. Attaching the documentation block to the variable declaration itself. All with no joy. It would really be nice to be able to document module level state for Fortran code. Best, Dick Munroe
Created attachment 241514 [details] [review] PATCH: Correcting behavior for @var in case of Fortran The name of the @var (@fn etc.) was derived by means of the function parsePrototype. For Fortran this routine was empty, placed the name of the element (text) supplied in the current entity.
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.4. 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.