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 continued nonnumeric literal in a VALUE clause is stored with the raw continuation line instead of the joined literal #4391
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Found by the referee panel (#4377). In CardDemo app/cbl/CBSTM03A.CBL, eleven 88-level items carry an HTML literal continued onto a second line (fixed format: the literal runs to column 72, the next line has - in column 7 and resumes after a quote):
157: 88 HTML-L08 VALUE '<table align="center" frame="box" styl
158: - 'e="width:70%; font:12px Segoe UI,sans-serif;">'.
record_data.value_literal for HTML-L08 (engine ca152eb92b9b) is
'<table align="center" frame="box" styl\n - '
that is, the first line's fragment plus the raw continuation line up to its opening quote. The value should be the joined literal, <table align="center" frame="box" style="width:70%; font:12px Segoe UI,sans-serif;">. tree-sitter-cobol-enterprise also keeps the raw text, so it cannot referee this. The answer key is wrong too, in a different way: it stores STYL\n (see draft B).
Scope: 11 items, all in CBSTM03A. The other three keyed CICS estates have no continued VALUE literal, and estate-crucible has none either.
Acceptance: the value of a continued alphanumeric / national literal is the concatenation per the Enterprise COBOL continuation rules: the first line's characters through column 72, then the continuation line's characters after its opening quote. Pin HTML-L08 / HTML-L10 in a unit test, and add a horror to estate-crucible.
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: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trial
Activity
fix: train -- #4329, #4391, #4392, #4393 (#4398)
squid-protocol commentedon Oct 5, 2026
Fixed by train D, #4398 (merged).