You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
COBOL engine: a unit's extent runs over trailing column-7 D (debugging) lines when WITH DEBUGGING MODE is off #4392
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
CBSA BANKDATA.cbl CDW010: the engine's extent is L1407-1436. The answer key, tree-sitter-cobol-enterprise and Che4z all give L1407-1433. Lines 1435-1436 are D lines ( D DISPLAY 'WS-DT-REM' ...), and the program's SOURCE-COMPUTER ... WITH DEBUGGING MODE (line 39) is commented out, so those lines are comments. The engine does not otherwise read D lines as code: CREACC's D MOVEs (lines 522 and 688) have no data_move rows. Only the unit end counts them. #4318's cause list mentions this as part of engine_unit_end_counts_noncode_lines ("the PL/I and D-line parts may deserve their own issue"), but no issue tracks it.
Acceptance: without WITH DEBUGGING MODE, a D line neither starts nor extends a unit. With the mode on, it is code.
Found by the #4377 referee panel (first pass, PR #4384; engine ca152eb92b9b).
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizationsscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
fix #4392: a column-7 D is a debugging indicator only after a real se…
fix #4392: after a blank sequence area a debugging indicator stands a…
fix #4392: after a blank sequence area a debugging indicator stands a…