Landing: f128c347d527

Project / Subsystem

gcc / cobol

Date

2026-07-22

Author

James K. Lowden

Commit

f128c347d5278a521f8101a4a237493a25e6f143

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
commit_hash
f128c347d5278a521f8101a4a237493a25e6f143
source_type
github
headline
COBOL: Restrict CDF reserved words to CDF parsing
tldr
COBOL parser now correctly restricts CDF reserved words to when they are used in CDF contexts.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • cobol
  • parser
  • lexer
  • language support
discussion_id_link
bugzilla_pr
date
2026-07-22T00:00:00.000Z

Reserved words specific to the COBOL Deployment Facility (CDF) files, such as PARAMETER, are now correctly recognized only within CDF parsing contexts. Previously, these words were incorrectly treated as reserved during normal parsing, leading to potential errors. This change ensures accurate parsing of CDF-related constructs.