[flang-commits] [flang] [flang][parser] handle semicolons uniformly in program unit constructs (PR #181180)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Feb 12 09:15:24 PST 2026
================
@@ -91,8 +91,9 @@ TYPE_PARSER(
"nonstandard usage: empty source file"_port_en_US,
skipStuffBeforeStatement >> consumedAllInput >>
pure<std::list<ProgramUnit>>()) ||
- some(globalCompilerDirective || globalOpenACCCompilerDirective ||
- normalProgramUnit) /
+ some(skipStuffBeforeStatement >> (globalCompilerDirective ||
----------------
klausler wrote:
Are you sure that there can be skippable stuff before a compiler directive?
https://github.com/llvm/llvm-project/pull/181180
More information about the flang-commits
mailing list