Landing: c23cf9b34934
Project / Subsystem
gcc / cobol
Date
2026-09-17
Author
James K. Lowden
Commit
c23cf9b3493495fca08696fb831625a079848786
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- c23cf9b3493495fca08696fb831625a079848786
- source_type
- github
- headline
- Cobol PICTURE evaluation improved with automaton
- tldr
- Cobol PICTURE clause evaluation is improved by introducing an automaton that enforces ISO Table 10 rules.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • parser
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-17T00:00:00.000Z
An automaton has been introduced to parse COBOL PICTURE strings, enforcing ISO Table 10 rules for PICTURE sequences. This change enhances the accuracy of PICTURE clause evaluation, correctly identifying data item types or invalid characters, and has revealed errors in the test suite.