IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
50 stars 20 forks source link

COBOL - Misinterpretation of COPY directive in the presence of conditional compilation directives #406

Open FALLAI-Denis opened 7 months ago

FALLAI-Denis commented 7 months ago

Development environment used

Problem Description

When conditional compilation directives are present inside a COPY directive, the COBOL Language Server reports errors on the conditional compilation directives because it expects to find a "BY" clause. However, the code compiles without problem.

Observed behavior

image

image

See fixed issue for comments in COPY directive (same problem):