Skip to content

Names that mask Fortran intrinsic functions cause errors. #4

Description

@mbdevpl

When transpiling between Fortran and Python, declaring for example:

real, parameter :: tiny=1.e-32

and then referencing this name like in:

if (x < tiny .and. x > 0.) then

will cause compiler errors e.g.:

   if (x < tiny() .and. x > 0.0) then
        1
Error: Expected a right parenthesis in expression at (1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions