Repository navigation
det: STRING refuses a numeric literal sender / delimiter by name (Part of #7709) - #7735
Merged
Merged
Conversation
…t of #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7709 (#7523). Checklist: partial [c:b383e52f] -- the code-page row (register D4) is refused by design and has nothing to implement; numeric-sender and numeric-literal STRING operands are now refused by name.
What
Gen.string_sender(det translator) refused only numeric items with P or a decimal place. A numeric literal sender orDELIMITED BYliteral (STRING 15 ...,DELIMITED BY 1.5) was translated as its text. IBM (Enterprise COBOL 6.4 Language Reference SC27-8713-03, STRING statement): "literal-1 or literal-2 must be of category alphanumeric, DBCS, or national", so any numeric literal is a compile error. It is now a hole by name (register C11); figurative ZERO/SPACE stay valid. The IBM sentence was read from the live IBM docs page through a fetch subagent, not from the local PDF.Class / Sibling gaps
Class: COBOL STRING operands that z/OS rejects at compile time (numeric item with P or a decimal place, COMP-1/COMP-2 item, numeric literal) and that the det port must refuse by name instead of sending cobc's bytes. Members: numeric item with P/decimal (already refused, #4996, tests present); COMP-1/COMP-2 sender (already refused, C6, probed); numeric literal sender and DELIMITED BY, integer, fractional, negative (this PR, tests over both positions); figurative ZERO/SPACE and an integer item stay translated (tested). Code-page row (alphanumeric literal beyond single-byte, register D4): already refused by design, statement hole; stated boundary, no burned program needs it. No sibling gaps remain; burned programs affected: none (
det_port.py check: 269/269 ports unchanged).Evidence
pr_gates --fast: 9/9 pass. Not run:pr_gates --ratchets, golden bless (no parsing-logic change, only a translator refusal), full test_evidence.py.Doc-refs fixes: none
Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code