Landing: daf8d7612dc0
Project / Subsystem
gcc / cobol
Date
2026-09-24
Author
Xavier Del Campo Romero
Commit
daf8d7612dc022f2f124173be31226fc8791ea48
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- daf8d7612dc022f2f124173be31226fc8791ea48
- source_type
- github
- headline
- cobol: Apply fixed/free format heuristics to FUNCTION-ID
- tldr
- Improves lexer's fixed/free format detection for FUNCTION-ID in gcobc.
- author
- Xavier Del Campo Romero
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler
- • lexer
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-24T00:00:00.000Z
The heuristics for detecting fixed and free source code formats in gcobc were previously applied only to PROGRAM-ID. This change extends these heuristics to also cover FUNCTION-ID, preventing incorrect format switching when copybooks are included and ensuring fixed-form programs remain valid.