https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by James K. Lowden <[email protected]>: https://gcc.gnu.org/g:815237217d2c5ae50f71942344e805c528e2c0cf commit r17-1819-g815237217d2c5ae50f71942344e805c528e2c0cf Author: James K. Lowden <[email protected]> Date: Wed Jun 24 16:49:11 2026 -0400 cobol: Ensure REPOSITORY paragraph accepts all intrinsic names. Also clarify error when program fails to end with a Sentence. Fixes RT 3574. Fixes PR 40. gcc/cobol/ChangeLog: * parse.y: Modify grammar to accept list of intrinic function tokens. * parse_ante.h (in_procedure_division): Remove C-syntax (void). (in_environment_division): Declare function. * scan_ante.h (in_procedure_division): Whitespace. (in_environment_division): Define function. (typed_name): Return intrinsic function token in environment division. * scan_post.h (in_procedure_division): Remove duplicate declaration.
