Skip to content

Allow PRIVATE and PUBLIC in SUBROUTINE & FUNCTION statements #124

@qolin1

Description

@qolin1

The need to specify the private or public attribute of a procedure in separate statements is awkward.

In a module with lots of public and private procedures, the need to collect this status somewhere near the top (before the CONTAINS statement) is a pain. When looking at the declaration of a procedure, its public/private status ought IMO to be specifiable along with the rest of its definition. Eg:

RECURSIVE PRIVATE SUBROUTINE Fred(...)

PUBLIC PURE FUNCTION rose(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Clause 15Standard Clause 15: Procedures

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions