[flang-commits] [clang] [flang] [Flang] Adding -ffree-line-length-<value> flag (PR #192941)

Andre Kuhlenschmidt via flang-commits flang-commits at lists.llvm.org
Mon May 4 10:03:43 PDT 2026


================
@@ -568,6 +569,8 @@ void Prescanner::SkipToEndOfLine() {
 bool Prescanner::MustSkipToEndOfLine() const {
   if (inFixedForm_ && column_ > fixedFormColumnLimit_ && !tabInCurrentLine_) {
     return true; // skip over ignored columns in right margin (73:80)
+  } else if (!inFixedForm_ && column_ > freeFormColumnLimit_) {
----------------
akuhlens wrote:

Why do you think having a sentinel value is a bad idea? I think it makes a lot more sense than having a hidden arbitrary limit?

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


More information about the flang-commits mailing list