Skip to content

Create Directives using a string #489

@sergisiso

Description

@sergisiso

Other nodes can be created using a string (in addition to using a reader), which is convinient when creating a single node without needed the full Fortran program, but Directive fails. e.g:

    directive = Fortran2003.Directive("!$omp parallel")
    assert directive.tofortran() == "!$omp parallel"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions