Landing: 01ab6a7daff1
Project / Subsystem
gcc / cobol
Date
2026-08-23
Author
James K. Lowden
Commit
01ab6a7daff186df987d9572d555a02be5485c3c
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 01ab6a7daff186df987d9572d555a02be5485c3c
- source_type
- github
- headline
- Cobol parser continues despite lexer errors and allows literal MOVEs.
- tldr
- Cobol compiler now reports more errors by continuing parsing after lexer issues and permits MOVEs from literals to numeric-edited fields.
- author
- James K. Lowden
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • compiler
- • parsing
- • error reporting
- • MOVE
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-23T00:00:00.000Z
The Cobol compiler’s parser will now continue processing even if the lexer encounters errors, allowing for more comprehensive error reporting. Additionally, the compiler now permits moving a literal value to a numeric-edited data item, aligning with COBOL’s preference for late-binding and ensuring MOVE operations always succeed, with potential issues arising only when using the results.