Repository navigation
det reader refuses a tab in columns 1-7 and the REPLACE statement by name (Part of #8412) - #8654
Conversation
…name (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8654 @ 3e533c1: 2 failed check(s) == det (failure) -- real == shard 2/2 (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (5b484e8) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #8654 @ 5b484e8: 12 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == equivalence-e2e (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == publish (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…bs and is proven (Part of #8412) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (33073a7) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #8412
What
The checklist line "do tab characters and the REPLACE statement reach the det path correctly?" had no test. Probing an authored program:
REPLACE ==OLDNAME== BY ==NEWNAME==.was left in the logical lines and never applied, so the program translated with the unreplaced names.det/source.pylogical_linesnow raises a newReplaceStatementRefusedfor a REPLACE statement (REPLACE ==a== BY ==b==.,REPLACE OFF., pseudo-text on the next line).COPY ... REPLACINGand names such asREPLACE-FLAGare still read.Tabs: a first version also refused a tab in columns 1-7, but the det check failed: burned CardDemo's
CSLKPCDY.cpyleads VALUE-list lines with tabs and is translated and proven today (CBSTM03A, COACTUPC copy it). That refusal is dropped; the test now pins tab-led lines and tabs past column 7 as read.Tests:
tests/cobol_mainframe/test_det_tab_replace_8412.py(authored, invented names).Class / Sibling gaps
Class: det-path source text the reader cannot read faithfully and previously passed through silently (tab characters, the REPLACE statement). Members: tab in the sequence area (read as today, pinned; CardDemo ships it); tab past column 7 (read as whitespace, tested); REPLACE statement in a program or a copybook (refused here, tested,
logical_linesruns for both); COPY REPLACING (already handled, #4265, unchanged).Sibling gaps:
REPLACE OFF, interaction with COPY REPLACING) instead of refusing it: different mechanism (a pass incore/cobol_preprocessor.expand); needs a burned program that uses it (none identified; grep of burned corpora for a REPLACE statement was not run here).\t01 Xloses text); CardDemo CSLKPCDY.cpy's tab-led continuation lines are the burned program needing it, and they work today by luck.galaxy_ir/ scanner) was not probed for tabs or REPLACE; only the det reader.Remaining slices
Unchecked lines left on #8412: COMP items across every data boundary (matrix test; first verify existing coverage), copy-library order from JCL (SYSLIB DD / JCLLIB ORDER), the OWNER licence item (BAQ / HWT / IMS stand-ins).
Gates
Ran: the new tests,
test_det_source_format_5648.py,tests/test_source_reads.py,tests/tools/test_generated_branch.py, pinned-versionruff format. Not run locally:pr_gates --ratchets, golden bless (no scanner / language-standards change: det reader only), full det sweep. Behaviour change only for programs with a REPLACE statement.Co-Authored-By: Claude Sonnet 5.5 [email protected]
🤖 Generated with Claude Code