Landing: 70add872be78
Project / Subsystem
gcc / cobol
Date
2026-07-22
Author
James K. Lowden
Commit
70add872be783070deab8285ebb3a175d42256e3
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 70add872be783070deab8285ebb3a175d42256e3
- source_type
- github
- headline
- COBOL: Improve CDF token sameness test
- tldr
- COBOL parser's CDF token check now considers token location for improved accuracy.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • parser
- • lexer
- • compiler internals
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-22T00:00:00.000Z
The COBOL parser’s logic for determining if a token encountered in a lookahead was ‘the same’ as a scanned token has been improved. It now considers not only the token type but also its location, providing a more robust check for whether a specific CDF token was consumed.