Landing: 8667057b82d6

Project / Subsystem

gcc / gcc/cobol

Date

2026-09-11

Author

James K. Lowden

Commit

8667057b82d664967d290b7ac78d91736b712ff4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/cobol
patch_id
—
commit_hash
8667057b82d664967d290b7ac78d91736b712ff4
source_type
github
headline
Revise application of COBOL-WORDS
tldr
COBOL scanner logic is revised to apply COBOL-WORDS overrides after token retrieval, improving flexibility.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • lexer
  • • parser
discussion_id_link
—
bugzilla_pr
—
date
2026-09-11T00:00:00.000Z

This commit changes how COBOL-WORDS overrides are applied. Instead of the scanner handling them directly, the generated scanner now retrieves tokens, and the COBOL-WORDS overrides are applied afterward. This revision allows for more flexibility, though not all keywords can be modified successfully with the current implementation.