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 by LS when using the : character as a parameter delimiter in a parenthesized expression in a copybook #442

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

Comments

@FALLAI-Denis
Copy link

Development environment used

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

Problem Description

Using the traditional character : in a copybook, to delimit a parameter within a parenthesized expression, causes an interpretation error at the Language Server level.
Maybe in this case the Language Server interprets the character : as the mark of a reference modification .

Observed behavior

image

image

Since the "modification reference" syntax only requires one character : , while the parameter syntax requires an even number of characters :, this might allow the Language Server to disambiguate the parenthesized expression.

Thanks.

@phaumer phaumer added the bug Something isn't working label Sep 16, 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