diff --git a/flang/lib/semantics/resolve-names.cc b/flang/lib/semantics/resolve-names.cc index 6f7d787defab..a1eda7530d82 100644 --- a/flang/lib/semantics/resolve-names.cc +++ b/flang/lib/semantics/resolve-names.cc @@ -392,7 +392,7 @@ private: std::optional objectDeclAttr_; // Set when we see a stmt function that is really an array element assignment bool badStmtFuncFound_{false}; - // The location of the last AccessStmt seen, if any. + // The location of the last AccessStmt without access-ids, if any. const parser::CharBlock *prevAccessStmt_{nullptr}; // The default access spec for this module. Attr defaultAccess_{Attr::PUBLIC};