Landing: 6ed3cd0acb6d

Project / Subsystem

gcc / cobol

Date

2026-09-28

Author

James K. Lowden

Commit

6ed3cd0acb6d79838713bc22c0edfc2d98a5a16e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
6ed3cd0acb6d79838713bc22c0edfc2d98a5a16e
source_type
github
headline
Remove disused code in lexer and parser.
tldr
Cobol compiler removes unused lexer and parser code related to PICTURE validation.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • compiler
  • • cleanup
discussion_id_link
—
bugzilla_pr
—
date
2026-09-28T00:00:00.000Z

This commit cleans up the cobol compiler by removing code from the lexer and parser that is no longer necessary. The new PICTURE automaton now handles validation that was previously done with regular expressions, making the old code obsolete. This change streamlines the compiler’s internals.