Skip to content

ROSE: program with only end statement fails #97

@dagit

Description

@dagit

Converted from SourceForge issue 3437039, submitted by rasmussn

This is an easy bug to reproduce as a program with only "end" fails.

regression test

end

Output from ROSE:

Assertion failed: (astScopeStack.front()->get_endOfConstruct()->get_line() != astScopeStack.front()->get_startOfConstruct()->get_line()), function c_action_end_program_stmt, file ../../../../rose-0.9.5a-16734/src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C, line 16035.
Abort trap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions