Support EXTERNAL AS literal in the file description entry (COBOL 2002/2014; today "unexpected AS")
The last two posts here reopened this ticket for bugs #138's example, INSPECT s1 TALLYING n1 FOR CHARACTERS, LEADING 'ABC'. The ticket is closed again, but 3.2.0 and 3.3-dev r5751 still refuse that statement, and CHARACTERS followed by ALL as well. Could it be reopened? A patch is attached. To reproduce inspchar.cob (attached): IDENTIFICATION DIVISION. PROGRAM-ID. INSPCHAR. DATA DIVISION. WORKING-STORAGE SECTION. 01 T PIC X(8) VALUE "ABACADAE". 01 C PIC 99 VALUE 0. PROCEDURE DIVISION. MAIN-PARA....
Accept an arithmetic expression in SET index TO, SET index or pointer UP / DOWN BY (COBOL 2002/2014)
Report Writer SUM clause: accept UPON with RESET, several UPON details, repeated SUM and ROUNDED
Report writer: please accept SOURCES ARE, the standard synonym of SOURCE IS
Level-88 under an OCCURS gets the wrong subscript count when copied by TYPE or SAME AS
PRESENT WHEN on a level-01 report group without a LINE clause generates C that does not compile
INITIALIZE <category> TO VALUE ignores the category, and a list of category-names is refused