Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 5 tasks
FALLAI-Denis opened this issue Apr 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@FALLAI-Denis
Copy link

FALLAI-Denis commented Apr 23, 2024

Development environment used

  • Z Open Editor version: 4.1.0
  • Editor Platform
    • Visual Studio Code
    • Red Hat CodeReady Workspaces
    • Eclipse Che
    • Standalone Theia
  • Editor Platform Version: 1.81.1
  • Operating System: Windows 10 22H2
  • Java Version: 11
  • Related to RSE API?
    • RSE API Plugin version:
    • Zowe CLI version:
    • Node.js version:
  • Logs attached: no

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):

@Russell-May Russell-May added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants