[flang-commits] [flang] [Flang][OpenMP] Fix comments that should not be Sentinels on fixed format. (PR #68911)

via flang-commits flang-commits at lists.llvm.org
Fri Oct 13 02:28:20 PDT 2023


================
@@ -1174,18 +1174,19 @@ Prescanner::IsFixedFormCompilerDirectiveLine(const char *start) const {
   if (!IsFixedFormCommentChar(col1)) {
     return std::nullopt;
   }
+  if (p[0] != '$') {
----------------
Z572 wrote:

looks like this code cannot diagnostic,i opened a new issues #68966

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


More information about the flang-commits mailing list