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

Bugfix/ls24004074/not whole input consumed compiler directives #612

Conversation

dom-apuliasoft
Copy link
Collaborator

Description

Fix an issue where a program containing two COPY containing a IF DEFINED or IF NOT DEFINED directive with the same definition resulted in a wrong file output on the second one if it contained empty lines.

Related to:

  • LS24004074

Checklist:

  • If this feature involves RPGLE fixes or improvements, they are well-described in the summary.
  • There are tests for this feature.
  • RPGLE code used for tests is easily understandable and includes comments that clarify the purpose of this feature.
  • The code follows Kotlin conventions (run ./gradlew ktlintCheck).
  • The code passes all tests (run ./gradlew check).
  • Relevant documentation is included in the docs directory.

Copy link
Collaborator

@lanarimarco lanarimarco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very small change and a suggestion for when you address this kind of issue.

@lanarimarco lanarimarco merged commit bcdc832 into develop Sep 19, 2024
1 check passed
@lanarimarco lanarimarco deleted the bugfix/LS24004074/not-whole-input-consumed-compiler-directives branch September 19, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants