Skip to content

XML / perlmod fortran output, the type of a parameter of a function is set to the name of the parameter #9399

@Chabrier

Description

@Chabrier

Describe the bug
When using the perlmod mode on fortran code, i do not get the type of the parameter of a function.

Expected behavior
I would expect to get the type like with c code.

Screenshots
part of the code

function area_of_circle (r)  
  implicit none
  
  real :: area_of_circle  
  real :: r
  real :: pi

  pi = 4 * atan (1.0)

  area_of_circle = pi * r**2
  
end function area_of_circle

part of the output (DoxyDocs.pm)

 members => [
          {
            kind => 'function',
            name => 'area_of_circle',
            virtualness => 'non_virtual',
            protection => 'public',
            static => 'no',
            brief => {},
            detailed => {},
            type => 'real function',
            const => 'no',
            volatile => 'no',
            parameters => [
              {
                definition_name => 'r',
                type => 'r'                <--------------------------real expected
              }
            ]

To Reproduce

toReproduce.zip

Version

$ ~/DEVS/doxygen/build/bin/doxygen --version
1.9.5 (8863493*)
$ lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal

Additional context

If this is something to fix, with some tracks, maybe i could contribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions