[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:09:56 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:
If you don't like using 0 as the sentinel you could also make the type a `std::optional`. I was mostly suggesting 0 because you were already using it as a special value.
https://github.com/llvm/llvm-project/pull/192941
More information about the flang-commits
mailing list