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

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Fri Mar 7 12:06:00 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_ == '!');
----------------
akuhlens wrote:

Did this invariant change? Or did you decide the check wasn't worth while?

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


More information about the flang-commits mailing list