Landing: 0bffd1dd1713
Project / Subsystem
gcc / cobol
Date
2026-09-02
Author
James K. Lowden
Commit
0bffd1dd17133367b3a8580a30cb4599ce1f98b2
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 0bffd1dd17133367b3a8580a30cb4599ce1f98b2
- source_type
- github
- headline
- Cobol parser now handles tabs in fixed-format input more leniently.
- tldr
- Cobol lexer now treats a tab in columns 1-6 as if columns 1-7 were blank, improving NIST test compatibility.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • lexer
- • fixed-format
- • nist
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-02T00:00:00.000Z
The COBOL compiler’s lexer has been updated to better handle fixed-format input. A tab character in columns 1-6 will now cause the parser to treat columns 1-7 as blank, aligning with NIST test requirements. This change also improves the fast symbol-lookup for CLASS types.