[flang-commits] [flang] [flang] Allow C style comments in continuation lines and directives (PR #214336)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Sat Aug 8 21:52:12 PDT 2026
================
@@ -664,6 +664,12 @@ const char *Prescanner::SkipWhiteSpaceIncludingEmptyMacros(
while (true) {
if (int n{IsSpaceOrTab(p)}) {
p += n;
+ } else if (IsCComment(p)) {
+ if (const char *after{SkipCComment(p)}) {
----------------
eugeneepshteyn wrote:
This may be the same test case, I just want to make it very explicit. In free form:
```
integer :: i
i&
/* c
*/ = 5
end
```
https://github.com/llvm/llvm-project/pull/214336
More information about the flang-commits
mailing list