Files
clang-p2996/flang/lib/Parser/program-parsers.cpp
Peter Klausler b5aea32920 [flang] Improve error recovery for bad statement after CONTAINS (#109698)
After a CONTAINS statement in a program unit, a statement that cannot
begin a subprogram will trigger catastrophic error recovery. But the
compiler is presently emitting multiple errors for the same location
about expected variations of END statements. Emit fewer messages.

Fixes https://github.com/llvm/llvm-project/issues/109609.
2024-09-30 12:37:23 -07:00

31 KiB