[flang-commits] [flang] [flang] Ignore empty keyword macros before directives (PR #130333)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Mar 7 12:13:38 PST 2025


================
@@ -145,10 +145,8 @@ void Prescanner::Statement() {
     if (inFixedForm_) {
       CHECK(IsFixedFormCommentChar(*at_));
     } else {
-      while (int n{IsSpaceOrTab(at_)}) {
-        at_ += n, ++column_;
-      }
-      CHECK(*at_ == '!');
----------------
klausler wrote:

The check wasn't meant to be deleted; will restore it.

https://github.com/llvm/llvm-project/pull/130333


More information about the flang-commits mailing list