Skip to content

New diagnostic : "STOP RUN" or "GOBACK" should be the last statement o #1449

@smedilol

Description

@smedilol

Is your feature request related to a problem? Please describe.
New diagnostic : "STOP RUN" or "GOBACK" should be the last statement o

If a stop run or goback statement is encountered, then it must be the last statement of the paragraph/section.
Generate an error if it's not the case.

Cobol example:

        INIT.
       *Ok
            goback
            .
        INIT2.
       *Ko
            goback
            display "Hello"
            .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions