[all-commits] [llvm/llvm-project] 228749: [flang] Collapse execution-part statement error fl...
kwyatt-ext via All-commits
all-commits at lists.llvm.org
Wed Sep 9 11:31:23 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 228749bf71a0f05b2ce214a153969603f1a902f8
https://github.com/llvm/llvm-project/commit/228749bf71a0f05b2ce214a153969603f1a902f8
Author: kwyatt-ext <kwyatt.external at hpe.com>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
M flang/lib/Parser/executable-parsers.cpp
A flang/test/Parser/recovery10.f90
Log Message:
-----------
[flang] Collapse execution-part statement error flood into one error message (#220988)
An unrecognizable statement in the execution part of a source file
produced one "expected 'KEYWORD'" error for every possible statement
because each execution-part-construct alternative failed at the same
source position and the alternative combinator merges the messages of
same-position ties.
Wrapped the keyword-led alternatives in `withMessage` so that when none
of them matches a token, the flood is discarded in favor of a single
"expected an executable statement" diagnostic.
This fixes the problem identified in Issue:
https://github.com/llvm/llvm-project/issues/220696
Assisted-by: AI (Claude)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list