che-che4z-lsp-for-cobol icon indicating copy to clipboard operation
che-che4z-lsp-for-cobol copied to clipboard

Support Structure Call to Paragraphs and Sections

Open temanbrcom opened this issue 4 years ago • 0 comments

Is your feature request related to a problem?

Sections in PROCEDURE DIVISION may contain nested paragraphs. It allows making calls like GO TO PAR_NAME IN SEC-NAME. These calls should be checked for structure correctness.

Describe the solution you'd like

Check that the referencing is correct on structured paragraphs calls. The paragraph names should be unique on usage, i.e. they may duplicate in the section or in the program if there are no references on them.

Additional information

It will require changing the structure of the semantic context.

temanbrcom avatar Nov 04 '20 14:11 temanbrcom