-
Notifications
You must be signed in to change notification settings - Fork 58
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
Cics PUT CONTAINER improvements #2598
base: development
Are you sure you want to change the base?
Cics PUT CONTAINER improvements #2598
Conversation
Added a note informing the user that PREPEND is only available in CICS 6.2 or later.
Add support for PUT64 which has the same exact grammar as PUT CONTAINER (Channel).
@KutluOzel-b Could you review this? |
...org/eclipse/lsp/cobol/implicitDialects/cics/utility/CICSPutContainerOptionsCheckUtility.java
Show resolved
Hide resolved
...org/eclipse/lsp/cobol/implicitDialects/cics/utility/CICSPutContainerOptionsCheckUtility.java
Show resolved
Hide resolved
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Outdated
Show resolved
Hide resolved
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Outdated
Show resolved
Hide resolved
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Outdated
Show resolved
Hide resolved
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Outdated
Show resolved
Hide resolved
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Show resolved
Hide resolved
…tCicsPutContainerStatement.java Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
…tCicsPutContainerStatement.java Co-authored-by: Kutlu <104970275+KutluOzel-b@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@@ -147,6 +150,9 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro | |||
optionsMap.put( | |||
CICSWriteOptionsCheckUtility.RULE_INDEX, | |||
new CICSWriteOptionsCheckUtility(context, errors)); | |||
optionsMap.put( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks unrelated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate.
LGTM! waiting for the merge conflicts to be resolved |
server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/TestCicsPutContainerStatement.java
Show resolved
Hide resolved
server/engine/src/main/antlr4/org/eclipse/lsp/cobol/implicitDialects/cics/CICSLexer.g4
Show resolved
Hide resolved
...org/eclipse/lsp/cobol/implicitDialects/cics/utility/CICSPutContainerOptionsCheckUtility.java
Show resolved
Hide resolved
server/engine/src/main/antlr4/org/eclipse/lsp/cobol/implicitDialects/cics/CICSParser.g4
Show resolved
Hide resolved
@@ -157,17 +160,14 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro | |||
CICSEnqOptionsCheckUtility.RULE_INDEX, | |||
new CICSEnqOptionsCheckUtility(context, errors)); | |||
optionsMap.put( | |||
CICSWriteOptionsCheckUtility.RULE_INDEX, | |||
new CICSWriteOptionsCheckUtility(context, errors)); | |||
CICSWSAEPRUtility.RULE_INDEX, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CICSWriteOptionsCheckUtility
was removed from the list in the last commit.
private static final Map<Integer, ErrorSeverity> DUPLICATE_CHECK_OPTIONS = | ||
new HashMap<Integer, ErrorSeverity>() { | ||
{ | ||
put(CICSLexer.PUT, ErrorSeverity.ERROR); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PUT
is not an operand.
How Has This Been Tested?
Created both valid and invalid instances and added tests verifying as such.
Checklist: