Skip to content

Names that mask Fortran intrinsic functions cause errors.Β #4

@mbdevpl

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)

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