https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119933

--- Comment #10 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:c22afe03826072098a3dc0c258a57d34579f3c24

commit r17-1784-gc22afe03826072098a3dc0c258a57d34579f3c24
Author: James K. Lowden <[email protected]>
Date:   Tue Jun 23 12:00:25 2026 -0400

    cobol: Elevate keyword priority.

    Move keyword patterns higher in the lexer file, giving them higher
    priority than user-defined names. Fix tests that allowed keywords for
    Program-ID, which must be a user-defined name. Fixes PR 119933.

    gcc/cobol/ChangeLog:

            * parse.y: Restrict Program-ID as name to top-level.
            * scan.l: Elevate keyword priority in lexer.

Reply via email to