Landing: 7a320f883fe3

Project / Subsystem

gcc / cobol

Date

2026-07-30

Author

James K. Lowden

Commit

7a320f883fe3cbaa0ce0003d6a4eb3fc043d2e49

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
7a320f883fe3cbaa0ce0003d6a4eb3fc043d2e49
source_type
github
headline
cobol: Relax parsing for void sentences and MF $END-IF
tldr
Accepts multiple periods as void sentences and undocumented $END-IF under MF dialect.
author
James K. Lowden
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • parser
  • • dialect
  • • syntax
discussion_id_link
—
bugzilla_pr
—
date
2026-07-30T00:00:00.000Z

This commit relaxes parsing restrictions in the COBOL compiler, allowing it to accept multiple consecutive periods as empty statements (void sentences). It also enables the undocumented $END-IF directive to be accepted without comment when using the Micro Focus dialect. These changes address specific parsing leniencies requested to improve compatibility.