[flang-commits] [clang] [flang] [flang][Driver] Add support of -fd-lines-as-comments and -fd-lines-as-code flags (PR #127605)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Tue Feb 18 10:07:49 PST 2025


================
@@ -6747,8 +6747,18 @@ defm backtrace : BooleanFFlag<"backtrace">, Group<gfortran_Group>;
 defm bounds_check : BooleanFFlag<"bounds-check">, Group<gfortran_Group>;
 defm check_array_temporaries : BooleanFFlag<"check-array-temporaries">, Group<gfortran_Group>;
 defm cray_pointer : BooleanFFlag<"cray-pointer">, Group<gfortran_Group>;
-defm d_lines_as_code : BooleanFFlag<"d-lines-as-code">, Group<gfortran_Group>;
-defm d_lines_as_comments : BooleanFFlag<"d-lines-as-comments">, Group<gfortran_Group>;
+defm d_lines_as_code
+    : BooleanFFlag<"d-lines-as-code">,
+      HelpText<"In fixed form, with lines beginning with 'd' or 'D', the first "
+               "column will be treated as if it contained a blank.">,
----------------
kkwli wrote:

Another suggestion:
"Treat 'd' or 'D' in the first column of fixed form lines as a blank."

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


More information about the flang-commits mailing list