Skip to content

(Towards #201) Symbol table does not respect use association #349

@arporter

Description

@arporter

fparser2 fails for the following code:

module my_mod

contains

  subroutine log_minmax( self, log_level, label )

    use log_mod,    only : log_event, log_scratch_space,     &
                       application_log_level => log_level
    integer, intent(in) :: log_level
  end subroutine log_minmax

end module

with:

fparser.two.symbol_table.SymbolTableError: Symbol table already contains a use of a symbol named 'log_level' from module 'log_mod'

whereas 'log_mod' is actually renamed as 'application_log_level' in the use statement.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions