Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
arporter opened this issue Jun 14, 2022 · 1 comment
Closed

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

arporter opened this issue Jun 14, 2022 · 1 comment
Assignees
Labels

Comments

@arporter
Copy link
Member

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.

@arporter arporter added the bug label Jun 14, 2022
@arporter arporter self-assigned this Jun 14, 2022
@arporter
Copy link
Member Author

This is actually a known limitation and part of #201. However, that's quite a big issue so I shall keep this one open for this specific fix.

@arporter arporter changed the title Symbol table does not respect use association (Towards #201) Symbol table does not respect use association Jun 14, 2022
arporter added a commit that referenced this issue Jun 15, 2022
arporter added a commit that referenced this issue Sep 13, 2022
arporter added a commit that referenced this issue Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant