Parsing: Missing data types
Status: Beta
Brought to you by:
kdeschut
At least binary-long should be fixed in [r118], didn't checked the fix yet
Commit: [r118]
Discussion: Missing Support for COBOL 2002 (level 78, EXIT SECTION/PERFORM, length of section names, BASED/ALLOCATE/FREE)
Rechecked with [r140] - everything above is accepted, despite of "constant" (doesn't work the way it's implemented in the grammar). Not sure if everything is checked in the test suite (especially the part "usages that aren't allowed to have a picture clause").
Related
Commit: [r140]
Indeed, the "not allowed" checks are still missing.
Given the nature and goals of Koopa I'm not going to add "not allowed" checks. I really want to accept as much as possible syntactically, even if certain combinations may not be allowed semantically. I would rather see such things added as a semantic pass on the syntax tree.
You've added
CONSTANT ASin the meanwhile, did you?Likely something for a new ticket is the
RETRYphrase andDYNAMIC LENGTHSimon
Yes,
CONSTANT ASis covered by theconstantEntry_level01rule.RETRYandDYNAMIC LENGTHare indeed missing. Feel free to create tickets for those. :-)